Good morning,
The next request to the api:
search/tweets.json?q=%40bancosantander&count=50&since_id=1136903519666089984&max_id=1136903519666089986&tweet_mode=extended
Is not returning this tweet: https://twitter.com/JAUMEGV/status/1136903519666089985
What can be happening?
Thank you
Unsure what your assumptions are here/when you made this request. The search/tweets endpoint only retrieves Tweets that go back 7 days.
search/tweets.json?q=%40bancosantander&count=200&tweet_mode=extended&max_id=1139077665938427905&since_id=1139077665938427903’
Would return Tweet ID: 1139077665938427904 (“created_at”:“Thu Jun 13 07:50:53 +0000 2019”) since it is within than 7 days of the request at the time of this post.
If you only need this specific Tweet ID payload, use either statuses/show/:id or statuses/lookup with the ID. For example, using statuses/show.json?id=1136903519666089985 shows that the created_date is “created_at”:“Fri Jun 07 07:51:36 +0000 2019”
We actually are doing this request with larger range between since_id and max_id but this tweet was not returned, so we are losing tweets.
When we realized that we lost this specific tweet (1136903519666089985) we did the request before 7 days of created_date but it wasn’t returned.
The problem is that we are losing tweets, do you know why?
Thank you very much
I’ve noticed some tweets not appearing in standard search too - unfortunately it’s not built for being a complete index, and some tweets may be missing - Overview | Docs | Twitter Developer Platform but premium search supposedly covers All tweets.
The streaming Filter API is also generally good for keeping track of all tweets that mention a keyword like @bancosantander (as long as the volume does not exceed 1% of the firehose - in that case you will get a rate limit notice to let you know you’ve missed tweets, and you can use premium search to fill in the gaps)
1 Like
system
Closed
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.