Twitter API with urllib2 in python
- by Dirk Nachbar
I want to use the Twitter API in Python to lookup user ids from name using the lookup method. I have done similar requests simply using
response = urllib2.urlopen('http://search.twitter.com...')
but for this one I need authentication. I don't think I can do it through the Google python twitter API because it doesn't have the lookup method. Any ideas how can I can auth with urllib2??