Skip to content

Installation

This library supports Python 3.6 and newer.

Dependencies

These distributions will be installed automatically when installing Python-Facebook-Api.

  • requests: An elegant and simple HTTP library for Python, built for human beings.
  • Requests-OAuthlib: A library uses the Python Requests and OAuthlib libraries to provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients.

Installation

You can install this library from PyPI.

~ pip install --upgrade python-facebook-api

Also, you can build this library from source code.

git clone https://github.com/sns-sdks/python-facebook.git
cd python-facebook
make env
make build

Testing

If you have installed the requirements use make env.

You can use following command to test the code.

make test