Skip to main content

Asyncio Python client for Facebook API

Project description

aiofb Documentation Status

A thin asynchronous Python wrapper for Facebook graph API.

This library requires Python 3.5+


Using pip

$ pip install aiofb

Basic usage


import asyncio
import aiofb

# initialize Graph API
fb = aiofb.GraphAPI(access_token='YOUR_ACCESS_TOKEN')

# Get an event loop
loop = asyncio.get_event_loop()

# Get results
data = loop.run_until_complete(fb.get('/{some-endpoint}'))


0.1.0 (2018-04-06)

  • Packege created.

0.1.1 (2018-05-17)

  • Clean up
  • First release on PyPI

0.1.2 (2018-10-02)

  • Return raw python data decoded from json response instead of aiohttp.ClientResponse object.

0.1.3 (2019-01-11)

  • Change default Messenger user profile fields to name,first_name,last_name and profile_pic to reflect new Messenger API policy.

0.1.3 (2019-02-10)

  • Add method for taking Messebger thread control (messenger.take_thread_control(data, session=None)))

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aiofb, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size aiofb-0.1.4.tar.gz (15.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page