Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter sent status 404 for URL: trends.json using parameters: () #101

Closed
talesp opened this issue Nov 4, 2012 · 1 comment
Closed

Twitter sent status 404 for URL: trends.json using parameters: () #101

talesp opened this issue Nov 4, 2012 · 1 comment

Comments

@talesp
Copy link

talesp commented Nov 4, 2012

I'm starting with this project, and trying to do the same search for trending topics from the first page:

from twitter import *

twitter_search = Twitter(domain="search.twitter.com")

# Find the latest search trends
twitter_search.trends()

I get the error above.

Full trace:

Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/twitter-1.9.0-py2.7.egg/twitter/api.py", line 173, in __call__
    return self._handle_response(req, uri, arg_data)
  File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/twitter-1.9.0-py2.7.egg/twitter/api.py", line 198, in _handle_response
    raise TwitterHTTPError(e, uri, self.format, arg_data)
twitter.api.TwitterHTTPError: Twitter sent status 404 for URL: trends.json using parameters: ()
details: ?VJ-*?/*V???V?M-.NLOU?R
?/*??Q(?H,Q(
)??+??(?Vd?(?(%?????????YpD

I'm using Python 2.7, twitter 1.9

@sixohsix
Copy link
Collaborator

Hi,

Twitter changed their API, which invalidated this method. I will update the documentation to include a different example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants