Bug character count .nl links without http:// or www


When I post a message via the REST API v1.1 with an url like “test.nl” in it (no http:// or www. in it and with the extension .nl), Twitter sees this as a link and counts 22 characters for it.

When using the twitter-text library (https://github.com/twitter/twitter-text/) for counting characters it does not see it as a link.

This causes issues when going just over 140 characters (twitter-text library will tell it’s ok, REST API won’t accept it).


You should file an issue with twitter-text so the maintainers are aware.