twitter_stream.statuses.filter(track='name') throwing error


#1

Hi Friends, I am planning do analyze the market trend using information provided by twitter for my project…

I have successfully connected using OAuth using python. But, I could not retrieve data using the command…

rec = twitter_stream.statuses.filter(track=‘walmart’)

Error:
File “/usr/lib/python2.7/urllib2.py”, line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

Please help me…

Basically, I need to need to gather general information relevant to product/shop/people feedback (mostly not related to my status or timeline)… suggestion are always welcome …

Thanks in advance !!!


#2

404 is File not found,
So it looks like it cant find the python library, or the url string being sent is incorrect, and so it can’t find it.


#3

I crawled few websites, so it is not problem with python library. It is throwing error, When I am applying the filter condition.

Kindly provide me suggestion to find other people status (non-friends) and tweets…


#4

Please help me out to resolve the probiem …


#5

Have you looked into what your library is actually doing when trying to connect? I would check that the library is referencing API urls that exist. Using HTTPS, using /1.1/ streaming paths…


#6

I found that status.filter is deprecated that using API 1 . https://dev.twitter.com/docs/api/1/post/statuses/filter. Is there any other logic to retrieve general information movie reviews, product comments just by passing name?


#7

There’s a v1.1 version of this same method. See [node:10389].