API v3 has been deprecated. Please use API v4 instead

Users

Links a user account with a Facebook profile. 

POST: /api/v3/users/:id/link_facebook(.json){.codeblock}

Parameters

  • fb_access_token{.params}

fb_access_token{.params}

The Facebook access token is required to link the profile to Facebook. The system will query Facebook’s servers with this token to get the Facebook ID and link it with the account.

POST: /api/v3/users/:id/link_facebook?access_token=ACCESS_TOKEN&fb_access_token=FACEBOOK_ACCESS_TOKEN(.json){.codeblock}

Note that the access_token in Viki’s system needs to be a password type to be able to modify the user information. A normal client_credential will not work.