Get tweet url having only tweet id

How can I get a Tweet URL that only has a Tweet ID?

I found a solution, but I want to know if there is a better one. First, I am assuming that you need to query and search after getting the tweet id with the username and after that create the url like this:

https://twitter.com/{username}/status/{tweetid}.

      

It is right? Is there an easier solution that doesn't involve executing the query in the first place?

+3


source to share


2 answers


You don't need a username.

Here is one of my tweets

https://twitter.com/edent/status/552767187694661632

If you replace my Twitter name (edent) with any other random name ....



https://twitter.com/barackobama/status/552767187694661632

When you click on this link, Twitter will look for the status ID and automatically redirect you.

So, don't worry about making a query, just paste any random name into it and it will still work.

+6


source


you can try this:



https://twitter.com/statuses/ {tweetid}

+3


source







All Articles