Property | Type | Description | |
---|---|---|---|
$base_path |
Method | Description | |
---|---|---|
getLatestPostFromPage ( integer $id ) : array | getLatestPostFromPage | |
getPostsFromPage ( integer $id ) : array | getPostsFromPage |
Method | Description | |
---|---|---|
makeGraphApiRequest ( string $path ) : stdClass | makeGraphApiRequest |
public getLatestPostFromPage ( integer $id ) : array | ||
$id | integer | ID of the page to get data from |
return | array | First post from a page |
public getPostsFromPage ( integer $id ) : array | ||
$id | integer | ID of the page to get data from |
return | array | Posts from the page |