Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (14 sloc) 830 Bytes

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_oauth_credentials('FB_USER_ID', 'FB_SESSION_ID', 'FB_OAUTH_TOKEN')
    
  2. Twitter (OAuth):

    client.set_twitter_oauth_credentials('OAUTH_USER', 'OAUTH_SECRET', 'OAUTH_TOKEN')