Click or drag to resize
FacebookHelperGetPageAccessToken Method

Downloads account info from https://graph.facebook.com/me/accounts/ and finds page access token in it.

Returns null if page access token could not be retrieved.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 12.0.0
Syntax
C#
public static string GetPageAccessToken(
	string accessToken,
	string pageId,
	string appSecret
)

Parameters

accessToken
Type: SystemString
Application access token acquired via login bounce.
pageId
Type: SystemString
Facebook page identifier to find page access token for.
appSecret
Type: SystemString
Facebook application secret key for improving security.

Return Value

Type: String
See Also