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. Hey have you plugin installed and every things shows up like it supposed to but when a user goes to leave a comment and has it checked to send comment to facebook wall. It doesnt post it to their facebook wall. It post the comment fine on my blog. been when checking facebook…nothing shows up. Any suggestions greatly appreciated.

    Chad

  2. Tx 4 great plugin,

    I have trouble though with my theme in Firefox (posts r outside their container)… in IE working fine….
    there must be a solution to this, no ?

    Tx 4 ur help !!!!!!!!!!!!!!

  3. Just wanted to say thanks!! I did have some problems getting people logged in with Super Cache, but found a solution that worked via Google. I’d imagine a lot of people could run into this.

  4. Does anyone know if this works on WP 2.71 yet? I am having the same issue as many seem to have had regarding getting this error:

    Invalid Argument
    The Facebook Connect cross-domain receiver URL (http://blackcelebrity.net/magazine/wp-content/plugins/fbconnect/xd_receiver.htm#fname=_opener&%7B%22t%22%3A3%2C%22h%22%3A%22fbCancelLogin%22%2C%22sid%22%3A%220.110%22%7D) must have the application’s callback url (http://www.blackcelebrity.net/magazine) as a prefix. You can configure the callback url in the application’s settings.

    I have unchecked SSL, filled out canvas url, checked my callback url, and still no dice…

  5. hola encontre buenisimo el proyecto pero tengo algunas dudas con la version 2.7 up 2.7.1.

    Cuando entras a Edit profile, los datos no aparecen como lo hace directamente en tu sitio.

    Me explico EJ,

    Casilla Nombre ( en blanco ) X
    Casilla Apellido (en blanco ) X
    Casilla Alias ( FB_6547****) OK
    Casilla Alias ( FB_6547****) OK
    Casilla Nombre Publicante ( FB_6547****) Sin mas opciones

    y el resto sin info, el punto que al publicar un comentario queda descrito como FB_6547*** y no con el nombre del perfil facebook.

    Como se puede solucionar esta diferencia.

    Gracias y felicitaciones

  6. Turns out that you only see this button if your already connected (makes sense) and I was not.

    But I thought I was because the sidebar widget recognised me, gave a welcome message and displayed my avatar without actually login me in).

    This is a minor bug I suppose?

  7. @72 Mike and @ 73 Jayson. I’m not getting the send comments to Facebook button to appear either. (Everything else seems to work)

    Switched to default theme and no luck.

    Any advice or help much appreciated.

    PS: Thanks for this plugin.