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.

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.......
I think we need OpenSSL enabled in the site to have facebook connect.
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?
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.
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.
Maby you should intergerate something like this into the site, instad of the apps thing? https://developers.facebook.com/docs/guides/web/
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.
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.



