Why https://stream.twitter.com/1.1/statuses/filter.json?track=microsoft returns only 1 tweet


#1

I am using ASP.NET C# for Twitter API App Development. When I give following command to retrieve tweet
dynamic abc = token.GetQueryWebRequest(“https://stream.twitter.com/1.1/statuses/filter.json?track=microsoft”, HttpMethod.POST, null);
It returns only one record. Please point out my mistake or my misunderstanding.

Regards
Aamir


#2

How are you consuming the stream? You should be getting a continuous stream of results (assuming that there is a continuous stream of tweets matching your terms) – you may be using a HTTP client that expects a more traditional request-and-response.


#3

Thanks for response Taylor
Let me clear I am new in Twitter API. I don’t understand what do you mean by http client
Giving you further detail that I am using the library Tweetinvi maintained by Linvi, recommended on Twitter API Documentation. And using following for populating the Token Info.
IToken token = new Token(
ConfigurationManager.AppSettings[“token_AccessToken”],
ConfigurationManager.AppSettings[“token_AccessTokenSecret”],
ConfigurationManager.AppSettings[“token_ConsumerKey”],
ConfigurationManager.AppSettings[“token_ConsumerSecret”]);

Please correct me if I am on wrong path and suggest me what would be the correct strategy to collect tweets by using Streaming API or maximum tweets.

Thanks again
Expecting for your response
Aamir


#4

?