Issue while fetching tweets of

[erc_ksa]

using APIs. Few tweets are being missed while fetching via APIs. Please reply and help ASAP, detail in a screenshot attached

first of all: you reference a customer (and your customer refers to a customer as well?) - if you’re using the API for commercial purposes, you may wish to look into the premium or (best supported) enterprise APIs, where we can support you better. Enterprise search is more complete.

The standard API has a few gaps (for example, to challenge the statement in your screenshot about the search API; it is not that is is “not reliable”, but it is a ~11 year old API that does not work on the full Tweet index, and is optimised for recency. We will be resolving that in the new Labs version coming soon).

It is very difficult to help to debug specifics here. I’d recommend using the Account Activity API webhooks to capture mentions, if that’s your goal. Using the timelines and search APIs are going to be unpredictable, partly due to the eventual consistency of the API as a whole. Account Activity API should be more reliable in terms of event delivery to your endpoint.

"3. Using user_timeline" is requesting timeline of @arwa which is not the correct handle of the missing tweet by @arwa35289511, this endpoint isn’t useful here - user_timeline will return the specified user’s tweets - it’s not capable of searching.

"2. Search API" - Standard Search is not a complete index, and won’t guarantee returning all tweets, as you mention. Premium search is one alternative: Search API | Twitter API | Docs | Twitter Developer Platform

"1. Using mentione_timeline": It seems this is also not reliable, and like the search api, is not guaranteed to return everything - As mentioned above, the best way to go is to use the account activity api: Premium Account Activity API | Docs | Twitter Developer Platform

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.