Class

SAF_Page

Methods

getId

getId()

Returns the page ID

Return type:string|int

getData

getData()

Returns the page data

Return type:array

getAccessToken

getAccessToken()

Returns the page’s access token

Return type:string

getName

getName()

Returns the page’s name

Return type:string

getProfileUrl

getProfileUrl()

Returns the page’s profile URL

Return type:string

getProfilePicture

getProfilePicture()

Returns the page’s profile picture

Return type:string

getLikes

getLikes()

Returns the page’s like count

Return type:string|int

getWebsite

getWebsite()

Returns the page’s website

Return type:string

getTabUrl

getTabUrl()

Returns the app tab URL

Return type:string

getAddTabUrl

getAddTabUrl()

Returns the URL needed to add the app to a page

Return type:string

isPublished

isPublished()

Returns true if the page is published

Return type:boolean

isLiked

isLiked()

Returns true if the user likes this page

Return type:boolean

hasRestrictions

hasRestrictions()

Returns true if the page has restrictions

Return type:boolean

getRssUrl

getRssUrl()

Returns the page’s RSS URL

Return type:string

__construct

__construct()

Constructor

Parameters:
  • SAF_Facebook
  • string|int
Return type:

void

_init

_init()

Init

Return type:void

_injectSAFData

_injectSAFData()

Add our own useful social app framework parameter(s) to the page data

Return type:array

_getValue

_getValue()

Returns a page key value whether it exists or not

Parameters:
  • string – key to check for
  • mixed – default value if not set
Return type:

mixed

Constants

RSS

Project Versions

Table Of Contents

Previous topic

Class

Next topic

Class

This Page