Setting up the Facebook SDK

Within your web applications, you may need to interact with Facebook. Thanks to to the Facebook SDK, you can easily connect and manipulate the data that you need. In this article, we will be showing you how to gather the required files to use the Facebook API.

Obtain the Facebook SDK for PHP

  1. First, visit the Facebook PHP SDK page on the official Facebook developers site.
  2. Click the green button that says Download the PHP SDK to begin the download.

Using the Facebook SDK files in your development environment

  1. Once the download is complete, open the zip file. Inside it, you will see several files and folders which contain the Facebook SDK.

  2. From here, simply upload the entire contents of this folder to your development location. For further instructions on uploading files, you may take a look at our guide on uploading files using FTP.

Was this article helpful? Let us know!