Below are a list of common questions from the forums with answers for most cases.
Facebook changes frequently. Always ensure you're running the latest version of JFBConnect, as this will solve many common issues. See the JFBConnect changelog for the most recent version and fixes available.
Simply use the {JFBCLogin} tag anywhere on your site and the Login button will appear for guest users. You can also include a logout button, when users are logged in, by specifying {JFBCLogin logout=true}. There are more options for the look of the button that can be seen in the Tag section of the JFBConnect Configuration Guide.
These tags can be placed in an article, a custom HTML module, or any template file. All settings in the JFBConnect component (new user type, redirections, etc) will be used automatically.
Yes! Simply use the following code to use a custom image for your button:
<a href="javascript:void(0)" onclick="jfbc.login.login_custom();"><img src="http://cdn.sourcecoast.com/linktoimage.jpg" /></a>
If you don't have an image, and would like a standard HTML form button, you can use the following code:
<input type="button" onclick="jfbc.login.login_custom();" value="Login With Facebook" />
Follow the steps for using a custom button above, and you should have no problem integrating JFBConnect into a Javascript pop-up. If you're using the JFBCLogin module, you should also remove the inclusion of the normal blue Login With Facebook button by search for the following code and commenting it out (put two slashes in front of it - "//"):
echo $fbClient->getLoginButton($buttonSize); ?>
Artio SEF wants to try to fix links it thinks are bad. While normally this is good, with how Facebook works, it needs a special link for everything to go smoothly. To prevent Artio from altering JFBConnect's login process, please change the following setting in the Advanced Configuration for Artio SEF:
"Fix index.php links" set to No
Please use the new Requests feature of JFBConnect v4.1. It uses Facebook's newer Request system and is vastly superior to the old Invite functionality.
For more information on how you can create and tracking each request, please see our JFBConnect v4.1 announcement blog post.
In JFBConnect v3.4+, there is now a setting for "Auto Username Prefix" that will let you select from 1 of 3 different automatic username options:
- fb_123456 - where 123456 is the user's Facebook ID
- john.smith123 - FirstName.LastName followed by a unique ID if the firstname.lastname has already been used
- johsmi123 - First the letters of the first name followed by the first three letters of the last name followed by a unique ID if the first/last name combination has already been used.
The share button has an incompatibility with Facebook's own Javascript libraries. This can, on some sites (depending on overall javascript load order, browser used, and other conditions), cause either the Share button, or other Facebook widgets (comments, Login button, Like button, etc) to not appear. This is not a JFBConnect issue and likely cannot be fixed on our end
Facebook is not recommending the use of the Share button, and are recommending the Like button with the use of special Open Graph meta tags to describe the page. Support for the Open Graph tags has been available since the 3.2 release of JFBConnect.
For more information on the deprecation of the Share button, see:
To properly integrate JFBConnect with JFusion, you should:
- Order the JFBConnect Authentication plugin before (lower number) the JFusion Authentication plugin
- Order the JFBConnect User plugin before (lower number) the JFusion User plugin
- In JFusion, for the setting of "What method would you like to use for
dual login?", select "Let jfusion create cookis without accessing files".
The Smarty template system will interpret any tags inside squigglies {} as commands for their system. To properly use the JFBConnect tags, you need to include them as follows:
{literal}
{JFBCComments}
{/literal}
You can use any JFBConnect easy-tag above, not just for the comments widget.