Click or drag to resize
FacebookConnectHelperValidateFBAccessToken Method
Validate FB access token against https://graph.facebook.com

Namespace: CMS.ExternalAuthentication
Assembly: CMS.ExternalAuthentication (in CMS.ExternalAuthentication.dll) Version: 12.0.0
Syntax
C#
public static bool ValidateFBAccessToken(
	string accesstoken,
	string appSecret,
	out string facebookUserId
)

Parameters

accesstoken
Type: SystemString
Access token to validate
appSecret
Type: SystemString
App secret of the current site for providing better security.
facebookUserId
Type: SystemString
Returns Facebook user ID

Return Value

Type: Boolean
See Also