Can I fetch the tweet from Twitter if I know the tweet's id?
8 Answers
@Adjam & @Gibron
You can use any user name and the url will redirect to the correct twitter handle.
For instance, if I go to:
twitter.com/anyuser/status/541278904204668929
The link redirects to:
https://twitter.com/MarkTabNet/status/541278904204668929
-
6
-
@Jim Can you provide an example tweet id that doesn't work, as well as it's url (if you happen to know it)? I'm assuming it's a public tweet and not a dm. Mar 30, 2020 at 14:10
-
@datalifenyc Thanks for providing with the link. I was wondering if only given a user id, that is to say I don't know the user's name, how to deal with that?– pandalaiAug 11, 2020 at 9:19
-
-
@Kr1 Can you provide me with an example of a tweet that does not work? I will take a look. Nov 2, 2021 at 19:10
You don't need to use the API or know the user account.
Just drop it into the following URL format, where XXXXXXXXX is the tweet id.
yes we can fetch by https://dev.twitter.com/docs/api/1/get/statuses/show/%3Aid , if will fetch the status of the single id..
https://api.twitter.com/1/statuses/show/id.json
Example: https://api.twitter.com/1/statuses/show/130022282960715776.json
-
-
This worked for me: twitter.com/Tweet_Maker_User_Name/status/447788271175999488– AdjamMar 23, 2014 at 19:36
-
1Adjam that requires <Tweet_Maker_User_Name> which is not always available and not part of the parameters of the question.– GibronSep 24, 2014 at 19:23
-
1not Working api.twitter.com/1.1/statuses/show.json?id=98030675097174016 says: {"errors":[{"code":215,"message":"Bad Authentication data."}]} but no example in the f*** twitter api for how you put the key into the url– GizzmoJul 1, 2015 at 10:25
we could test twitter api in https://apigee.com/console/twitter
https://api.twitter.com/1.1/statuses/show/335393046625652736.json
-
2Unfortunately Apigee has deprecated their API console's so this answer is no longer valid: apigee.com/about/blog/api-technology/… Apr 26, 2018 at 17:15