Retrieve tweet from its shorten URL


Hello, when I click an URL on a tweet, Twitter transform it in shorten URL without original ID.
How to retrieve with REST APIs please. Thanks;


You can do this without the Twitter API. Here is a discussion on stackoverflow for Python:

Once you have the full permalink, parse the Tweet ID from the URL.


Thanks, and do you know, in JS, how to retrieve a tweet from its ID ? “search_tweets” seems to be a not adapted command, impossible to find the right one for specific ID.

			function (reply, rate, err) {
			false // this parameter required


I’ve responded to the same question on this other thread.