Status is over 140 characters for a reply


Hi all!
Today I was testing some REST API call to verify the new replies counting semantic (that is, not considering leading @mentions).

I tried to reply to the following tweet:
But when I use the following parameters:

status="@uzochiapa 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"

I get the “Status is over 140 characters.” message. Obviously, the 1234...90 part of the status is exactly 140 characters long.
Is there anything wrong I’m doing?
I also tried to insert auto_populate_reply_metadata="true" and tweet_mode="extended" without luck.



The @mention is counted in REST. It would also be a good idea to limit @mentions


So do you mean I always have to remove @mentions and then set auto_populate_reply_metadata to use the new format?


Depends what you want to accomplish. I build them like an old-school RT so I …
1- Remove the link to wherever
2 - Remove the media URL if it exists
3 - Remove the @mention add RT or By to it.
3 - Bust the tweet text into an array
4 - Keep adding words back while checking for length … taking into account “RT @mention” length + media URL + link + hashtags if any (Note that URL lengths are fixed. Welcome to Twitter-math)
5 - Once I get too long, I take a step back and add an ellipsis.
6 - Reassemble the new tweet as "RT @mention “Tweet text with or without ellipsis media URL” link hashtag(s)

Based on a comment on another thread by Andy Piper, I will be modifying that to put hashtags before the link.It seems that text after the link may stop video autoplay.

Lately, I have been adding a step that replaces the @ with # to avoid hissy fits.



Don’t include the @mention in the status text.



In replies you now only need to add @ mentions if you wish to ADD additional users to the conversation