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");?>

Leave a Reply

329 thoughts on “Facebook Connect WordPress Plugin FAQs

  1. great plugin but i cant get it to work – i get this error:

    Fatal error: Class ‘FacebookRestClient’ not found in /home/kdrelev7/public_html/KD/wp-content/plugins/fbconnect/fbConfig.php on line 35

    how do i fix this?

    PLEASE HELP! =) thanx in advance!!!

  2. I have using StudioPress theme and all works well except for Internet Explorer. I see the steps above but no not have a header.php or footer.php under editor using this child theme.

    Any ideas on how to get this working?

    Thanks!
    Jeremy

  3. i have a problem on the logout
    how to make facebook is not login the facebook just the the wordpress
    and how to make the facebook logout is use the wordpress logout is not logout the facebook

  4. Is there any cache plugin for WordPress that works with this plugin? I’ve tries WT3 and Super cache but it seems the “Facebook Connect WordPress Plugin” does work (login) with any of these 2 enabled :(

  5. please help in resolving this erro for mac and windows 7 operating system
    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/predicte/public_html/wp-content/plugins/fbconnect/fbConnectLogic.php on line 504

    becuase it works fine for xp and vista

    thanks in advance
    sajid
    http://predictell.com