Skip to main content

fb_accountkit

A simple python module for Facebook's AccountKit server-side implementations.

Dependencies

Installation

pip install fb-accountkit

Usage

from fb_accountkit import FBAccountKit

fbak = FBAccountKit(
    'APP_ID',
    'APP_secret',
    version='v1.1'
)

# store token (user_access_token) to response back to client.
token_info = fbak.retrieve_user_access_token('auth_code_from_client')

# to validate token, call `get_user_session()`
print(fbak.get_user_session())

# to logout the user
fbak.logout()

# to logout all sessions (account_id must be provided)
me = fbak.get_user_session()
fbak.logout_all_session(me.get('id'))

Metadata

Release files for fb-accountkit 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for fb-accountkit 1.0.2
File Interpreter ABI Platform Actions
fb_accountkit-1.0.2-py3-none-any.whl Python 3 none any Details for fb_accountkit-1.0.2-py3-none-any.whl

Release files / fb_accountkit-1.0.2-py3-none-any.whl

Download URL fb_accountkit-1.0.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
600251d5c0af2950b2ee273943ccd3fd28024a7806773a65674d7b754e227e97
BLAKE2b-256 checksum
How to use checksums
bac198a23ba4f02dd5a7c180f640f4dab1e4b5102c5c52a93997c8ed0561849c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.6

Security for fb-accountkit 1.0.2

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.

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file No provenance

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