Skip to content
Class extending Facebook-php-sdk to utilize Wordpress caching and storage
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.


Wordpress Facebook Class

Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
Extended the facebookbaseclass from
Has the intent of using wordpress transients and options tables to cache requests and store persistent data


Clone this repository
  git clone
Clone or download the facebook-php-sdk
  git clone
Include the BaseFacebook class and the wordpress-facebook-class.php in your plugin's main file. If you clone these into your plugin directory this should work. 
	include "facebook-php-sdk/src/base_facebook.php";
	include "wordpress-facebook-class/wordpress-facebook-class.php";

Please see the documentatation at 

This class provides one extended function unrelated to Wordpress, it allows you to get an extended access token from Facebook. 
For more information please see 

This class provides no additional support for Wordpress, you will need to write the functions to retrieve and store access tokens required to authorizes users. 
You can’t perform that action at this time.