"Status is over 140 characters."


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?


@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.


Thank you very much.


@DanielCHood You’re very welcome!