Hi Paul,
I'm not able to reproduce this issue. I'm making my request like this:
twurl -t /1/statuses/filter.json -d "track=Boston,hockey,Obama" -H '
stream.twitter.com' --no-ssl
I would recommend not using terms like 'the, and, or' in your filter though.
Those words are extremely common and you will find yourself limited very
quickly. Instead pick specific terms that you want to track, or combine two
filter words together with a space.
More information on the AND and OR format of the track parameter is
available on our developer resources site:
http://dev.twitter.com/pages/streaming_api_methods#track
Best,
@themattharris <https://twitter.com/intent/follow?screen_name=themattharris>
Developer Advocate, Twitter
On Wed, Jun 22, 2011 at 7:37 AM, Paul Dettorre <[email protected]>wrote:
> 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
>
--
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