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.0.tar.gz
(2.3 kB
view details)
Built Distribution
fboauth2-0.1.0-py2.7.egg
(3.9 kB
view details)
File details
Details for the file fboauth2-0.1.0.tar.gz
.
File metadata
- Download URL: fboauth2-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f2e99a5fe62979903a99890109d4dcb27be0207332d9a6c7ecdc030bc9b5c54 |
|
MD5 | bb422c1a64b98856e78ec7d55bf1893e |
|
BLAKE2b-256 | 81c6617ae91370f39f9db01ab9d282e1a098e955f60f57614c4f9993f13d76e7 |
File details
Details for the file fboauth2-0.1.0-py2.7.egg
.
File metadata
- Download URL: fboauth2-0.1.0-py2.7.egg
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c152e7bf9a56230e37ba42f8db633797e753f0143b25554970e74f0ce6fa90c2 |
|
MD5 | 99ea26b3f32444995c1590bba616fbdd |
|
BLAKE2b-256 | 10f5774a220bd11facc6f917af68543c8f2a9a78bbce283ffe402a79c8c3fc6d |