Found a solution. For query string you have to add it to both the http_headers 
dictionary AND to the URL when making the Request. 

old line:
http_headers = {} 
http_headers['oauth_version'] = '1.0' 

new line:
http_headers = {} 
http_headers['date'] = 'ddmmyyyy' #add this line 
http_headers['oauth_version'] = '1.0' 

old line:
req = urllib2.Request(base_url) 

new line:
req = urllib2.Request(base_url + '?date=ddmmyyyy') 

Everything else remains the same.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to