Why am I getting this error when running my application which is trying to OAuth with Foursquare?
import httplib2
ImportError: No module named httplib2
I have installed httplib2 by downloading it and $ python setup.py install on the command line as instructed here
Am I missing something? Thanks
I've created a simple example on how to do this when using Google App Engine. (https://github.com/muanis/foursquare-oauth-bootstrap) basically you need Google oAuth2 Client (http://code.google.com/p/google-api-python-client/) and httplib2 (http://code.google.com/p/httplib2/)
Add
httplib2
as a third party library as documented here:https://cloud.google.com/appengine/docs/python/tools/libraries27#vendoring
Install with:
https://developers.google.com/api-client-library/python/start/installation
You will need to include the library in your project so that the App Engine runtime knows what you're importing.
From here: