I was wondering if Twitter exposes some sort of Tweet validation API


basically twitter keep changing stuff & we keep making changes :slight_smile: so I was wondering if some sort of Tweet validation API is being exposed.


What would this API validate?


facing some sort of same problem
i want to check when user enter a tweet
if tweet contains url or shorten url
it gets highlighted


I am looking to validate my tweet before it gets posted. Something to validate the tweet, user of my application tweets. So that they don’t fail when something changes like the URL count changes from 18 to 23 etc…

I found something interesting here - https://github.com/twitter/twitter-text-js/blob/master/twitter-text.js