How to get Facebook PHP SDK and install it


Read {count} times since 2020

Download Facebook PHP SDK from here.
Extract the folder src in the zip file to a folder named fbsdk in the home directory of your app.

Installation

There is no installation. You can run the functions in the file if you put this line at top of each file you run the SDK functions :

include(‘fbsdk/facebook.php’);

Facebook SDK requires the following to work properly :

  1. JSON PHP extension.
  2. CURL PHP extension.