"Status is over 140 characters."


#1

The twitter-text javascript function
var remainingCharacters = 140 - twttr.txt.getTweetLength(text);

tells me I have 14 characters remaining but when I attempt to post the same content with the php class Abraham\TwitterOAuth\TwitterOAuth() passing the same tweet as the content along with one media id, it errors saying the status is over 140 characters. It’s almost as if either the media id is counting against the limit or the url isn’t being shortened.

Any ideas?


#2

@DanielCHood Media Id is counting against the limit.

Check out this post that I made for further clarification: Tweet Character Count Issues

Let me know if you have any questions.


#3

Thank you very much.


#4

@DanielCHood You’re very welcome!