Facebook connector

Connector to Facebook social network (http://www.facebook.com).

Time costs:

API restrictions:

Additional settings:

Additional fields:

Access token format:

Two types of token-data are available in KeyChain object:

  1. token = 'ACCESS_TOKEN_STRING' - real access token, that is used to make requests. If App access token is used - it can be stored in such form, but it has some API-restrictions. Don't store User access token in this form: due to security reasons such tokens expires. User access tokens should be stored in raw formed and renewed every time, application is being executed. KeyChain identifier: fb.

  2. Raw access data. KeyChain identifier: raw_fb. Format:

    token = {
        'app_id'    :STRING,
        'app_secret':STRING,
        'app_url'   :STRING,
        'login'     :STRING,
        'password'  :STRING
    }
    

    In this form token data could be stored for unlimited time. Before using your token call KeyChain().autocomplete() or fb_auth function from smapy.utilities to generate valid common access token.

    Read how to get access token: Facebook token