Links a ParseUser to a Facebook account, allowing you to use Facebook
for authentication, and providing access to Facebook data for the user.
Namespace: Parse
Assembly: Parse.WinRT (in Parse.WinRT.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax
public static Task LinkAsync( ParseUser user, string facebookId, string accessToken, DateTime expiration, CancellationToken cancellationToken )
Parameters
- user
- Type: ParseParseUser
The user to link to a Facebook account. - facebookId
- Type: SystemString
The user's Facebook ID. - accessToken
- Type: SystemString
A valid access token for the user. - expiration
- Type: SystemDateTime
The expiration date of the access token. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type: TaskSee Also