users.linkWithFacebook

users.linkWithFacebook

This method offers alternative signatures:

users.linkWithFacebook(userId, accessToken)

Signature

users.linkWithFacebook(userId, accessToken)

Description

Links a Telerik Backend Services user account to a Facebook access token.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
userId string The user's ID in Backend Services.
accessToken string The Facebook access token that will be linked to the Backend Services user account.


users.linkWithFacebook(userId, accessToken, [success], [error])

Signature

users.linkWithFacebook(userId, accessToken, [success], [error])

Description

Links a Backend Services user with a Facebook access token.

Parameters

Parameter Name Type Description
userId string The user's ID in Backend Services.
accessToken string The Facebook access token that will be linked to the Backend Services user account. * @param {Function} [success] a success callback.
[success] function A success callback.
[error] function An error callback.


Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.