PHP Class Prose\UsingFacebookGraphApi

Inheritance: extends Prose
Afficher le fichier Open project: datasift/storyplayer

Protected Properties

Свойство Type Description
$base_path

Méthodes publiques

Méthode Description
getLatestPostFromPage ( integer $id ) : array getLatestPostFromPage
getPostsFromPage ( integer $id ) : array getPostsFromPage

Private Methods

Méthode Description
makeGraphApiRequest ( string $path ) : stdClass makeGraphApiRequest

Method Details

getLatestPostFromPage() public méthode

Get only the latest post from a page
public getLatestPostFromPage ( integer $id ) : array
$id integer ID of the page to get data from
Résultat array First post from a page

getPostsFromPage() public méthode

Get the first page of posts from a Facebook page
public getPostsFromPage ( integer $id ) : array
$id integer ID of the page to get data from
Résultat array Posts from the page

Property Details

$base_path protected_oe property

protected $base_path