forked from kylewm/brevity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update for twitter's new weighted char counting and 280 char limit
background: kylewm#8 https://developer.twitter.com/en/docs/developer-utilities/twitter-text https://twittercommunity.com/t/updating-the-character-limit-and-the-twitter-text-library/96425 https://blog.twitter.com/official/en_us/topics/product/2017/tweetingmadeeasier.html the new algorithm is more complicated than before, but not too bad. test cases are updated in kylewm/brevity-testcases#2. cc @Zegnat @sknebel @aaronpk
- Loading branch information
Showing
2 changed files
with
36 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters