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: 10.0.0
Syntax
C#
public static string GetPageAccessToken(
	string accessToken,
	string pageId
)

Parameters

accessToken
Type: SystemString
Application access token acquired via login bounce
pageId
Type: SystemString
Facebook page identifier to find page access token for

Return Value

Type: String
See Also