Enabling Facebook Connect

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 (About, Web Site, Facebook Integration, Mobile and Devices & Advanced).


Click on the sub-menu:
Web Site

For the field:
Site URL

enter the full path to your phpFox site. For example the index page for our live demo is located at:

So we would enter:

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.

Comments
Only verified clients can post comments on our community. If you have any questions feel free to contact us here.
Baciar wrote at December 12, 2010, 3:19 pm
0 Votes

I have a problem every time I click on facebook login it gives an error

An error occurred with ....... Please try again later.

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.

Last Update on December 12, 2010, 3:19 pm by krzysik
Baciar
uandiworld wrote at December 12, 2010, 4:19 am
0 Votes

I have a problem every time I click on facebook login it gives an error and says the URL is not valid with the application configuration

uandiworld
jimmysilva wrote at November 30, 2010, 7:05 am
0 Votes

Unable to fetch your Facebook account. - I am getting this error.

jimmysilva
michaelwhit83 wrote at November 26, 2010, 5:02 pm
0 Votes

I ran into a problem with this. I tried to login on my site with it and it said it could not connect with my account and kept reloading over and over again.

michaelwhit83
data66 wrote at November 22, 2010, 3:12 pm
0 Votes
Attention phpFox Staff: Please see this thread http://www.phpfox.com/forum/general-support-and-qu... and update this wiki. Your instructions are out-dated. Thanks.
data66
Raymond Benc wrote at November 23, 2010, 3:04 pm
0 Votes

Thank you, article has been updated. If anyone encounters any problems just let us know.

Raymond Benc
Displaying 21 to 25 of 25