nst / STTwitter

A stable, mature and comprehensive Objective-C library for Twitter REST API 1.1
BSD 3-Clause "New" or "Revised" License
999 stars 161 forks source link

A Question about Status Character Counts #211

Closed goodmorningbob closed 8 years ago

goodmorningbob commented 9 years ago

Hi,

Twitter seems to be using 21 chars out of the 140 limit when a picture is attached to a Tweet?

The deprecated statuses/update_with_media endpoint does mention that a url for the image will be added to the status update but there is no mention, that I can see, of this on the statuses/update method?

Is this correct, so a status update with a picture can only be 119 chars long? If so, would adding 2 pictures reduce the possible text length to 98 chars?

Thanks for any clarification.

Cheers.

/jh

goodmorningbob commented 9 years ago

To answer my own question. Twitter add a URL to the status update with a space before it so would seem to use a maximum of short_url_length + 1 chars, so currently 23.