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.
krazy_boy wrote at February 12, 2012, 8:27 am
0 Votes

For the ones getting this error "Unable to fetch your Facebook account." well after an hr of playing around phpfox the problem was that i had the option of making new users upload a pic so after i put it false this started working i hope i could help with this.......

krazy_boy
joy wrote at February 5, 2012, 5:25 am
0 Votes

I think we need OpenSSL enabled in the site to have facebook connect.

Last Update on February 5, 2012, 5:25 am by joy
joy
pridenation wrote at February 3, 2012, 1:53 am
0 Votes

For Facebook login, the wording is confusing to members:

>> Post to Facebook as you
<your website> may post status messages, notes, photos, and videos on your behalf. <<

Members think that we can post to their account. Is there anyway to reword that?

Last Update on February 3, 2012, 3:09 am by pridenation
pridenation
pridenation wrote at February 3, 2012, 3:12 am
0 Votes

I found where you can add a explanation clause to this Facebook warning. Go to the developer page (where you made the login app). On that page, the left-side menu has a link titled "auth dialog". Just click that and there's an area titled "explanation of permissions". You can explain that you do NOT have full access to the user's Facebook account.

pridenation
gino528i wrote at February 2, 2012, 5:34 pm
0 Votes

it is giving me the error "Unable to fetch your Facebook account."

gino528i
rallyfielder wrote at December 25, 2011, 8:23 am
0 Votes

I'm getting this error code. Can anyone help? I see others had this issue before

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.

rallyfielder
BBoi wrote at December 15, 2011, 8:10 pm
0 Votes

nvm

Last Update on December 26, 2011, 10:43 am by rongconcrx
BBoi
dark_nebula wrote at August 28, 2011, 9:40 am
0 Votes

Maby you should intergerate something like this into the site, instad of the apps thing? https://developers.facebook.com/docs/guides/web/

dark_nebula
verve 8 media wrote at August 5, 2011, 11:31 pm
0 Votes

If you are having issues, you may want to read the article about syncing facebook accounts with phpfox accounts. http://www.phpfox.com/kb/article/241/facebook-conn...

Also, if you are setting the facebook app in sandbox+test mode, only a number of people can use the app. Be sure to allow some facebook users (as testers) and include your facebook account. If you don't the "Unable to fetch your Facebook account." error will show up.

verve 8 media
djsl82 wrote at July 12, 2011, 5:12 pm
0 Votes

I have my admin account on sync with facebook, i changed the app and now I cant login to my admin panel. can somone help?

thanks.

djsl82
Marvel wrote at June 12, 2011, 11:50 am
0 Votes

"Unable to fetch your Facebook account. This message are coming.
How can solve this issue?
pls help

Marvel
Displaying 1 to 10 of 23