Why some tweets are in search api and not in streaming api and vice versa
NickName:PHA Ask DateTime:2015-09-21T15:26:30

Why some tweets are in search api and not in streaming api and vice versa

I have a script which stores incoming tweets for a phrase (e.g. "python") into database table "A" using twitter streaming api. Later, another script searches the same phrase using twitter search api and stores results into table "B". My question is why there are some tweets in "A" that are not in "B" and vice versa.

I can think of one reason to have tweets in "B" and not in "A":

"A" only contains tweets that are posted after streaming api started while search api returns results from the last week. If streaming api has been running for more than a week, then there must not any tweet in "B" that is not in "A".

I know two reasons to have some tweets in "A" and not in "B":

  1. search API only returns only results from the last week while streaming api returns everything
  2. search API returns only a portion of results and not all as its focus is not on completeness.

I'd like to make sure if I got it correct or not.

Copyright Notice:Content Author:「PHA」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/32689558/why-some-tweets-are-in-search-api-and-not-in-streaming-api-and-vice-versa

More about “Why some tweets are in search api and not in streaming api and vice versa” related questions

Why some tweets are in search api and not in streaming api and vice versa

I have a script which stores incoming tweets for a phrase (e.g. "python") into database table "A" using twitter streaming api. Later, another script searches the same phrase using twitter search ap...

Show Detail

Why are some geo tagged tweets null? (Twitter Streaming API)

I'm using the twitter streaming api to gather tweet locations from around the world. I'm receiving plenty of live tweets but some of the geo tags are null. I'm using the statuses/filter api with the

Show Detail

Is it possible to do Search a users tweets through Streaming API?

I am doing a project that takes in a high volume of tweets. From the current users that are returned tweeting for example "frog", I want to use STREAMING API to search user X's profile for more

Show Detail

How to track tweets with links with the streaming api?

I'm currently using the streaming API to track tweets with a specific hashtag but is it possible to filter them even more to only include tweets with links? I tried adding "filter:links" like in the

Show Detail

Twitter Streaming Filter API: Not seeing tweets

I'm dabbling with the twitter streaming filter API (https://dev.twitter.com/streaming/reference/post/statuses/filter). I have two twitter accounts. One account I'm using for the API calls, the othe...

Show Detail

Whether to choose Search or Streaming API of Twitter for public geo-tweets?

I want to develop an Android app that will fetch geo-tagged tweets from Twitter public timeline based on user's (current/specified) location. I will have a refresh button and more tweets (custom si...

Show Detail

Tweets from Twitter Streaming API

Using Twitter Streaming API getting tweets from a specific query. However some tweets came with different codification (there are boxes instead of words). Is there any way to fix it?

Show Detail

Twitter Streaming API vs. Twitter Search for live events streaming

I am going to be providing a twitter feed inside and Android app that allows re-tweets, favorites and reply to the tweet. I understand that there is a search api and also a streaming api. This is a

Show Detail

Read tweets for 3 weeks through Twitter Search API

I am totally confused by the vast amount of data about the search API, with different and confusing point of views. All I need is simple answers to some questions. I need tweets about certain keyw...

Show Detail

To Search Universal Tweets Via Twitter API v1.1

Hi this might eventually turn out to be a stupid question but i'd rather ask!! Its regarding GET search/tweets Twitter API v1.1. As documented by Twitter this particular API is designed to accept

Show Detail