ptwobrussell / Mining-the-Social-Web-2nd-Edition

The official online compendium for Mining the Social Web, 2nd Edition (O'Reilly, 2013)
http://bit.ly/135dHfs
Other
2.9k stars 1.49k forks source link

twitter says 404 #311

Open gyleodhis opened 7 years ago

gyleodhis commented 7 years ago

raise TwitterHTTPError(e, uri, self.format, arg_data) twitter.api.TwitterHTTPError: Twitter sent status 400 for URL: 1.1/trends/place.json using parameters: (id=1&oauth_consumer_key=qyvte3KGXkoWXfOExBR7XqF1c&oauth_nonce=13727178795812251353&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1475669595&oauth_token=%20783636998905012224-SJqAYlD5qOP5TZFz0qnib3VtBhi9ttP&oauth_version=1.0&oauth_signature=mMeP31wJ%2BBpQ0zlsbTy5dqvQGfk%3D) details: {u'errors': [{u'message': u'Bad Authentication data.', u'code': 215}]}

rreben commented 7 years ago

The Twitter authentication should work, if you proceed to generate your own keys as described. Maybe there is some copy paste error with the credentials, or you missed some steps on twitter. From the error, the only thing I can see that twitter does not acceppt your API credentials.