fboauth2
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
Metadata
Release files for fboauth2 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fboauth2-0.1.1.tar.gz | 2.3 kB | Without provenance | Details for fboauth2-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fboauth2-0.1.1-py2.7.egg | Legacy Egg format | - | - | Details for fboauth2-0.1.1-py2.7.egg |
Total release size: 6.3 kB
Release files / fboauth2-0.1.1.tar.gz
| Download URL | fboauth2-0.1.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
433324bb69e8348492426dca4cb3e76ae3bbc1f48660e1d25ecca7aefcb6fef8
|
|
BLAKE2b-256 checksum How to use checksums |
1d3ed3563ab5de2ee003501ff151dcfe5b3e0b40e0f34514a3ed783ac82e3fef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / fboauth2-0.1.1-py2.7.egg
| Download URL | fboauth2-0.1.1-py2.7.egg |
|---|---|
| Size | 4.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
5354a4dbae9e54166bf55c38527cd6343265529cb5b626bfa3340682b055cda2
|
|
BLAKE2b-256 checksum How to use checksums |
d0c07c4ee275bb50f7e1d955251d74e641c0f04071ed37ee78721ffd9946ba2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for fboauth2 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.