Services_Facebook
[ class tree: Services_Facebook ] [ index: Services_Facebook ] [ all elements ]

Class: Services_Facebook_Pages

Source Location: /Services_Facebook-0.2.14/Services/Facebook/Pages.php

Class Overview

Services_Facebook_Common
   |
   --Services_Facebook_Pages

Facebook Pages Interface


Author(s):

Version:

  • Release: 0.2.14

Methods


Inherited Variables

Inherited Methods


Class Details

[line 35]
Facebook Pages Interface


[ Top ]


Method Detail

isAdmin   [line 46]

boolean isAdmin( [int $pageId = null])

Checks whether the logged-in user is the admin for a given page.

Parameters:

int   $pageId   —  Page ID

[ Top ]

isAppAdded   [line 64]

boolean isAppAdded( [int $pageId = null])

Checks whether the page has added the application.

Parameters:

int   $pageId   —  Page ID, optional

[ Top ]

isFan   [line 85]

boolean isFan( [int $pageId = null], [int $uid = null])

Checks whether a user is a fan of a given Page. Doesn't work for Application about Pages.

Parameters:

int   $pageId   —  Page ID
int   $uid   —  User ID of the person to test, defaults to logged-in user

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:36:58 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.