Facebook Connect WordPress Plugin FAQs


1.My WordPress Theme dont support widgets, What can i do?

If your wordpress don’t support widgets, you can add the FB Connect widgets manually:

<?php
$args=array();
$args['loginbutton'] = "xlarge"; //value: small,medium,large,xlarge
$args['maxlastusers'] = "10"; //Max. user photos to display
$args['avatarsize'] = "30"; //User photos size
widget_FacebookConnector($args);
?>

 

2. IExplorer don’t show the login button and user photos

On some wordpress themes you need to modify your “header.php” file:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">

......

and check your “footer.php” theme file: if don’t have a < ?php wp_footer(); ?> line
Add it before the end body tag:

...
<?php wp_footer(); ?>
</body>
</html>

 

 

3. I can’t see the Send to Facebook checkbox, on the comments form
Check your comments.php Theme file, and add this code line:

...
...
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
...
...
<?php do_action('comment_form', $post->ID); ?>
</form>
...
...

 

4. I can’t see the Facebook user photo on the comments
FB Connector plugin use the get_avatar WordPress filter, to show the Facebook user photo or the Gravatar user image (based on the email).
Sample comments.php theme file that call this filter:

...
...
<?php foreach ($comments as $comment) : ?>

<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
<?php echo get_avatar( $comment, 32 ); ?>
<cite><?php comment_author_link() ?></cite> Says:
...
...

 






5. How to configure the invitation limit
Facebook changed the notification/invitation limit from a fixed to a fluctuating limit based on user spamminess ratings. A formula based on some parameters like your historical invitation acceptance rate.
From your Facebook application admin page, you can see the current “allocation” limits.
Go to: Facebook app admin->statistics->Allocations.

6. How to show post author avatar (Gravatar or Facebook profile)
Use this code at the WP bucle (index.php or single.php):

<?php echo get_avatar( $authordata->ID,50 );?>

 

7. How to show facebook login button without the widget

Edit your WP theme files and paste this code:

<?php include(FBCONNECT_PLUGIN_PATH."/fbconnect_widget_login.php");?>

316 thoughts on “Facebook Connect WordPress Plugin FAQs

  1. I’ve some questions about the plugin. But not before I’ve said I’m a fan of this plug-in already for a while.

    Since a few days I’ve a note in the FB comments element, saying: “Warning: this comments plugin is operating in compatibility mode, but has no posts yet. Consider specifying an explicit ‘href’ as suggested in the comments plugin documentation to take advantage of all plugin features.”

    I cannot figure out where this is coming from and not how to fix this.

    A second question is how I can make the width of the element 100% in stead of a fixed width (that doesn’t work well in the mobile theme.

    Hope you can help me out. If you want to check, my site is http://www.creatov.nl.

    Thanks a lot!

    • Warning problem:
      i haven’t a good solution, you can use the 4.3.3 plugin version and select the “Use post URL as href” option, in the “feed template” plugin configuration. The big problem is that you lost the old facebook comments, but is the best option for a new plugin install.

      100% width:
      The Facebook comments only works wit fixed with :-(

  2. Im using BBPress plugin for my Forum.

    My problem is…
    When you login to my forum using your Facebook account, it will successfully logged you in. The problem is, When you try to view your profile, it will give you a 404 error bacause you are logged-in using Facebook. When you try to view other profiles that are logged-in NOT using Facebook, you’ll be able to view their profile successfully.

    How do I solve this one?

  3. Hi, I intalled this plugin and I have to say its the best I have found, but I would like to chage a couple of things:

    First, when users login to my site with facebook from the /wp-admin they are directed to their admin page, and I want them to be directed to the page. I have a redirector plugin that send all the suscribers to the page when the login but with facebook it doesnt work.

    Second, the logout is very difficult because the users logout from the site and from facebook at the same time. I there a way to only logout from the site?

    Please somebody help me

  4. I have place folder in plugin folder.and when i activate the plugin it give an Error.

    Plugin could not be activated because it triggered a fatal error.
    Facebook needs the CURL PHP extension .

    Can any suggest?
    why this happen??

    • Puede ser un problema del theme de WP que estas utilizando.
      ¿los comentarios normales de wp si se muestran?
      ¿en la ocnfiguración del plugin has activado que se muestren los comentarios de Facebook?
      ¿puedes enviar la url de tu blog?

Leave a Reply