Pylons and Twitter Based Authorization

Implementing Twitter authorization in Pylons is easy as butter, I will show you how to do it in the next steps. Download python-twitter and install it https://code.google.com/p/python-twitter python setup.py build python setup.py install Download and install dependencies https://github.com/simplegeo/python-oauth2 http://code.google.com/p/httplib2/ http://cheeseshop.python.org/pypi/simplejson Now you’re almost there. There’s a file called get_access_token.py that you need to call in [...]

Pylons and Facebook based Authorization with OAuth 2.0

Authorizing a user using Facebook OAuth 2.0 based login it’s pretty straighfoard. This is for the person who asked a question on stackoverflow.com I hope it helps. Add the apikey, appid and secret of my Facebook app to the development.ini file facebook.apikey = 42bc5a4051b274ede5cb73a6cd6fad56 facebook.secret = a355e66e8c0293390896a170f9d5r4c3 facebook.appid = 20894420580890 Configure my model/init.py file: from [...]