I get the same error too when I hit the below REST API https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=twitterapi&count=2
Is there any prerequisite for accessing any Twitter REST APIs?
API 1 was goodb but API 1.1, idk
I would like to retrieve the tweets from the twitter I had written my code like this code: import urllib import json response = urllib.urlopen(“https://api.twitter.com/1.1/search/tweets.json?q=microsoft”) print json.load(response) on executing this code I am getting my error as:{u’errors’: [{u’message’: u’Bad Authentication data’, u’code’: 215}]} will u please help me solving the problem. In the above code (q=microsoft is my hashtag input) i.e I would like to retrieve those tweets only
import urllib import json response = urllib.urlopen(“https://api.twitter.com/1.1/search/tweets.json?q=microsoft”) print json.load(response)
same issue and no soln… till yet
Step by step procedure is provided in the below link:
Twitter Spidering