Hello developers.
How can I get the tweets of this example?
If I use the search endpoint, and search “vodafone” I can obtain the first message, but the user make various tweets for length reason. Is there any way to get all the tweets of the “chain”??
Thanks in advance.
In v2 API, it’s easier to use conversation_id Conversation ID | Docs | Twitter Developer Platform
In Standard v1.1 API it is slightly more difficult - after you retrieve the original tweet, to check for any replies, you need to search again for from:fmonter2 and match up the tweets using in_reply_to_status_id, and then check for any replies to that reply etc.
Hello @IgorBrigadir.
Thanks for your answer. The problem is I am working with webhooks, if the user write the first tweet and I get the notification 2 seconds laters, when I check the replies probably it will be empty. Is there any way to get a notification on my webhook? because how can I know when to check the replays in this case?
Regards
Oh, I thought you were using search API?
Overview | Docs | Twitter Developer Platform these are the only tweets available in web hooks, so maybe the subsequent replies will be as “mentions”? Have you checked that?
system
Closed
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.