Notice: This feature is currently Beta and is not supported by the phpFox Support Staff
In order to setup Facebook Connect with phpFox you will be required to create a Facebook Application. Below we provide all the steps to successfully setup Facebook Connect with phpFox. Note that in order to use this feature you are required to be running phpFox 2.0.4 or higher.
Creating the Facebook Application
To create your Facebook Application log into Facebook using your own personal account. Then visit the following page:
http://www.facebook.com/developers/createapp.php
For the field:
Application Name
use a name that will represent the application when users are connecting your site with their Facebook account.
Once you have submitted the form and you have successfully created your application Facebook will send you to the page where you can edit all the settings for your new application. To your left you will find a sub-menu (eg. Basic, Authentication, Profiles etc...).
Click on the sub-menu:
Connect
For the field:
Connect URL
enter the full path to your phpFox site. For example the index page for our live demo is located at:
http://live.phpfox.com/demo/
So we would enter:
http://live.phpfox.com/demo/
Now click on the sub-menu:
Advanced
For the field:
Email Domain
enter the domain of your site. Using our live demo as an example our full path is:
http://live.phpfox.com/demo/
so for this field we entered:
live.phpfox.com
Next, save the changes you have just made.
Once you have saved your changes Facebook will send you to a page where it will display your Secret and API keys, which are the keys required in the upcoming step below.
Enabling your Facebook Application in phpFox
Now that you have successfully created your Facebook Application you will need to enable this feature from our AdminCP. To do this log into your AdminCP and go to:
Settings >> System Settings >> Manage Settings >> Facebook Connect
For the field:
Facebook API Key
enter the
API Key
Facebook provides you with.
Next, for the field:
Facebook Secret
enter the
Application Secret
Facebook provides you with.
Next, for the field (Note this is only for phpFox version 2.0.5 or higher):
Application ID
enter the
Application ID
Facebook provides you with.
Now enable this feature by setting:
Enable Facebook Connect
to
True
Your Facebook Connect should now be setup. To test this feature log out of your site and visit your sites index page. Under the login form you should see a Facebook Connect button.
