Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aiofb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aiofb

Asyncio Python client for Facebook API

  • 0.1.4
  • PyPI
  • Socket score

Maintainers
1

===== aiofb

.. image:: https://img.shields.io/pypi/v/aiofb.svg :target: https://pypi.python.org/pypi/aiofb

.. image:: https://img.shields.io/travis/tehamalab/aiofb.svg :target: https://travis-ci.org/tehamalab/aiofb

.. image:: https://readthedocs.org/projects/aiofb/badge/?version=latest :target: https://aiofb.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

A thin asynchronous Python wrapper for Facebook graph API.

This library requires Python 3.5+

Installation

Using pip

.. code-block:: console

$ pip install aiofb

Basic usage

Example

.. code-block:: python

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}'))

======= History

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)))

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc