Olliepop\FBPageFeed\FBPageFeedService
Class FBPageFeedService
Synopsis
class FBPageFeedService
{
- // members
- private FacebookSession $fbSession;
- private $appID;
- private $appSecret;
- private mixed|null $pageID;
- private $accessToken;
- // methods
- public void __construct()
- public SS_Limitable getStoredPosts()
- public FacebookPost storePost()
- public array|bool getPostsFromFacebook()
Members
private
- $accessToken — mixed
- $appID — mixed
- $appSecret — mixed
- $fbSession — \Facebook\FacebookSession
- $pageID — Olliepop\FBPageFeed\mixed|null
Methods
public
- __construct()
- getPostsFromFacebook() — Retrieve Facebook Page posts using the Facebook RESTful API
- getStoredPosts() — Get our local copies of the Facebook Page posts
- storePost() — Store a Facebook Page post into our database