For some reason when I use any keywords other than "the, and, or" I
get no results. Tried in both cUrl & Python. Keywords like Boston,
hockey, Obama return no results! Curl & Python code just wait
receiving no results. Any thoughts? Also the keywords "the, and, or"
produce a {"limit":{"track":20}}, every 50 or so records. i understand
this is a rate limit but 1) What is the number for & 2) What is it
limiting as more tweets seem to still be received?

Thanks

import tweetstream, simplejson as json
words = ["the", "and", "or"]
f_out = open("c:\\bitly_test\\results_4.txt",'w')
stream = tweetstream.TrackStream("xxxx", "xxxx", words)
for tweet in stream:
  print "INPUT:", tweet
  f_out.write(tweet)
  #result = json.loads(stream)
  #print result

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk

Reply via email to