Bad authentication code 215


#1

I wrote a program back in API v 1.0 that crawls up tweets using urls.
Its core part goes like this:

import tweepy auth1 = tweepy.auth.OAuthHandler('something','something') auth1.set_access_token('something','something') api=tweepy.API(auth1)

url = “http://api.twitter.com/1/statuses/show.json?id=” + tid
tweet = urllib2.urlopen(url).read()

After 1.1 got released, I’ve changed the url from 1 to 1.1 and tried getting new OAuth,
but it gives me Bad Authentication, code: 215 error.

This may have been asked before, but I cannot find relevant information.
What exactly do I need to change from the code above?
Please help me out and I will greatly appreciate your help.