Click or drag to resize
FacebookHelper Class
Helper methods for working with Facebook social network.
Inheritance Hierarchy
SystemObject
  CMS.BaseCoreMethods
    CMS.BaseAbstractHelper
      CMS.BaseAbstractHelperFacebookHelper
        CMS.SocialMarketingFacebookHelper

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 10.0.0
Syntax
C#
public class FacebookHelper : AbstractHelper<FacebookHelper>

The FacebookHelper type exposes the following members.

Constructors
  NameDescription
Public methodFacebookHelper
Top
Fields
  NameDescription
Public fieldStatic memberOAUTH_ACCESS_TOKEN_URL
URL for getting access token.
Public fieldStatic memberOAUTH_AUTHORIZE_URL
URL for user authorization.
Top
Methods
  NameDescription
Public methodStatic memberDeletePostOnFacebookPage
Deletes the post on the Facebook page.
Protected methodDeletePostOnFacebookPageInternal
Deletes the post on the Facebook page.
Public methodStatic memberGetPageAccessToken
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.
Public methodStatic memberPublishPostOnFacebookPage
Publishes the new post on the Facebook page and returns the Facebook post ID.
Protected methodPublishPostOnFacebookPageInternal
Publishes the new post on the Facebook page and returns the Facebook post ID.
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Public methodStatic memberTryGetFacebookPageId
Gets the Facebook page identifier associated with the specified URL. May throw exception.
Top
See Also