Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (14 sloc) 0.83 kb

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')
    
Jump to Line
Something went wrong with that request. Please try again.