Skip to content

URLs count towards the 140-character limit in their t.co shortened form - #110

Open
vargusz wants to merge 1 commit into
bengottlieb:masterfrom
vargusz:master
Open

URLs count towards the 140-character limit in their t.co shortened form#110
vargusz wants to merge 1 commit into
bengottlieb:masterfrom
vargusz:master

Conversation

@vargusz

@vargusz vargusz commented Jan 7, 2013

Copy link
Copy Markdown

Use twitter-text-objc [1] to calculate the lengths of status messages when determining whether to truncate them or not. This library correctly calculates URLs in their shortened format, as Twitter does according to their FAQ [2].

[1] https://github.com/twitter/twitter-text-objc
[2] https://dev.twitter.com/docs/faq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant