c# - Twitter feeds against hashtag -


i fetching twitter feeds against hashtag fetching 1 feed.

is true feeds of 7 days fetched only?

below code:

public string getsearch(string search, int count) {     string resourceurl = string.format("https://api.twitter.com/1.1/search/tweets.json");      var requestparameters = new sorteddictionary<string, string>();     requestparameters.add("count", count.tostring());     requestparameters.add("q", search);      var response = getresponse(resourceurl, method.get, requestparameters);      return response; } 

twitter ensuring tweets returned if less 7 days old. if older 7~14 days returned. beyond 14 days can consider never receive of them.

this reason why people tend use long running filter stream. filter stream send tweets matching specific criteria (for example hashtags) in live. have store in own database , index them access application.

please aware if criteria attempt match represents more 1% of totals tweets sent on twitter not receive of them. @ point twitter send json response starting track , let know how many tweets matching criteria you've missed.

more info here


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -