Bare minimum Facebook OAuth2 client
Project description
Bare minimum Facebook OAuth2 client
Usage
from fboauth2 import FBClient fbclient = FBClient(CLIENT_ID, CLIENT_SECRET, scope='publish_stream', redirect_uri='http://example.com/callback') # Point users to auth url redirect(fbclient.get_auth_url()) # Pass code to get access token code = params['code'] access_token = fbclient.get_access_token(code) # Make graph requests me = fbclient.graph_request('me') print me['name']
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fboauth2-0.1.1.tar.gz
(2.3 kB
view hashes)
Built Distribution
fboauth2-0.1.1-py2.7.egg
(4.0 kB
view hashes)