Ian
Ian

Reputation: 3336

Install Facebook PHP library on Bluehost

My hosting provider is Bluehost, and I'm attempting to create a Facebook app for the first time, but I do not understand how to get the files necessary installed on my hosting directory.

The facebook developer "Quick Creation Guide" says the following for step 1:

Extract this archive into a directory on your hosting server where you can host and run PHP code:

$ curl -L http://github.com/facebook/php-sdk/tarball/master | tar xvz
$ mv facebook-php-sdk-* facebook-php-sdk
$ cp facebook-php-sdk/examples/example.php index.php

Does anyone have any experience doing this? I am new to installing PHP in general, and have only been using hosts that have had it installed already, so I am very unfamiliar with this process.

Upvotes: 1

Views: 753

Answers (1)

Jimmy Sawczuk
Jimmy Sawczuk

Reputation: 13614

All you need to do to "install" the PHP SDK is download the lone PHP file (source available here), upload it to your server, and include it wherever you want to use it.

Upvotes: 4

Related Questions