xdevplatform / Twitter-API-v2-sample-code

Sample code for the Twitter API v2 endpoints
https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api
Apache License 2.0
2.61k stars 967 forks source link

Extending character limit beyond 280 for Twitter Blue users with API v2 #119

Open GitDani3l opened 1 year ago

GitDani3l commented 1 year ago

Describe the bug When using the Twitter API v2 to post tweets for Twitter Blue users, the API does not allow posting extended tweets beyond the standard 280-character limit.

To Reproduce Steps to reproduce the behavior:

Authenticate with the Twitter API v2 as a Twitter Blue user.
Compose a tweet with more than 280 characters.
Attempt to post the tweet using the API v2.
Observe the error or unexpected behavior.

Expected behavior As a Twitter Blue user, the API should allow posting tweets with an extended character limit (beyond 280 characters). The API should recognize the user's Twitter Blue status and accommodate the increased character limit accordingly.

Additional context This issue affects developers who are trying to provide an enhanced experience for Twitter Blue users by supporting extended tweets in their applications. It would be helpful to have clear documentation or guidance on how to implement this functionality using the API v2.

canerozden13 commented 7 months ago

At least, you can tell if this feature will be on the roadmap or not in the near future.