https://linen.dev logo
Not being able to post on Twitter(X)
# 🖥│support-forum
s
We have trying to post with the TWITTER_CREATION_OF_A_POST tool on the Composio platform. Our code is correctly calling the TWITTER_CREATION_OF_A_POST tool slug with the required text parameter. We have created a Twitter App on the Developer Portal. We have confirmed our App has "Read and Write" permissions. We have confirmed our Twitter Developer account is on the paid "Basic" tier, which includes full access to the v2 tweets endpoint. We have successfully connected our Twitter account in the application, and the user has authorized all requested scopes. Despite all of this, when we execute the TWITTER_CREATION_OF_A_POST tool, the Twitter API returns a 403 Forbidden error with the message "You are not permitted to perform this action." We also tried using the composio playground and seems like maybe we are not doing it right https://cdn.discordapp.com/attachments/1414988604001751120/1414988604333097202/image.png?ex=68c19254&is=68c040d4&hm=5997c6ce2bbeaf58d542516a2d94f2e6562c25ee516207fb3f73e6b3abf73205&
it just keeps on loading the playground
c
Could you share the logId for the tool call that threw 403?
s
log_77u3sPOi6rMx
u
Hi @soumyadeepdhali, Could you confirm if you've configured tweet read and write permission on your Twitter App?
c
Could you share the payload or the text which was used to create a post? It'll help us in debugging.
Hey, your permissions look good and I was able to post a tweet with similar configuration. The problem could be due to the content of the post itself. Twitter has some limitations like content char length to be less than 280 and the content quality, in this case Twitter usually throws 403, mind checking the content(text) and let me know if it abides?
s
Firstly, through composio can i post media like photos and videos via all our social media like twitter etc?
?
c
Yes: Currently there's an issue with this tool which team is investigating, I'll keep you posted on our progress.
l
Do you need developer?