/python-face-client

face.com REST API Python client library.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

face.com Python API client library

face.com REST API Python client library.

For a demonstration how to use this library, see EXAMPLE.RST.

For more information about the API and the return values, visit the official documentation.

Performing actions involving Facebook or Twitter users

If you want to perform actions involving Facebook or Twitter users you need to provide the necessary credentials.

  1. Facebook:

    client.set_facebook_credentials('FB_USER_ID', 'FACEBOOK_SESSION')
    
  2. Twitter (OAuth):

    client.set_twitter_oauth_credentials('OAUTH_USER', 'OAUTH_SECRET', 'OAUTH_TOKEN')
    
  3. Twitter (username and password):

    client.set_twitter_user_credentials('TWITTER_USERNAME', 'TWITTER_PASSWORD')