FacebookHelper PublishPostOnFacebookPageInternal Method Kentico 8.1 API Reference
Publishes the new post on the Facebook page and returns the Facebook post ID.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

pageId
Type: OnlineSystem String
Facebook's page identifier. Post will be published on that page.
pageAccessToken
Type: OnlineSystem String
Access token that will be used for publishing on the page.
postText
Type: OnlineSystem String
Text of the post that will be published.

Return Value

Type: OnlineString
Facebook identifier of the new post.
Exceptions

ExceptionCondition
FacebookApiExceptionFacebookApiException is thrown when an error occurs while communicating with Facebook.
See Also