Skip to main content

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

http://marksteve.mit-license.org/

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)

Source distribution for fboauth2 0.1.1
File Size Uploaded
fboauth2-0.1.1.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fboauth2 0.1.1
File Interpreter ABI Platform
fboauth2-0.1.1-py2.7.egg Legacy Egg format - - Details

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page