INICIO COMUNIDAD FORO SOBRE MÍ (Javier Reyes) MIS PROYECTOS SIXJUMPS

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 plugin manually:

<?php
widget_FacebookConnector(array());
?>

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


247 Responses to “Facebook Connect WordPress Plugin FAQs”

  1. Hi All, anyone has FB share button appeared properly on their blog? Mine seems does not work. :(
    Anyhow, great plugin I ever have! thumbs up to the author. ^^

  2. Ivan says:

    como agrego el plugin manualmente????
    en k parte de k archivo pongo el codigo que mencionas: widget_FacebookConnector(array());

    ayuda por favor!!!

  3. Ibe Gamin says:

    Also interested in the proper code to place the “Like” button… Don’t really need the entire widget, only the like button.

    My theme is weird and is not showing the like button anywhere, so I have to edit the theme and manually place them.

    How can we do it?

  4. Hi,

    very nice plugin.

    But how do you hide the download link till I liked your post?

    Can you tell me how to do it?

    HIDDEN CONTENT

    Doesn’t work for me…

  5. Rushal Patel says:

    How do I remove the sociable logo from the publish to facebook form?

  6. Rush Smith says:

    When my users logg in they have this messege:

    “Catchable fatal error: Object of class WP_Error could not be
    converted to string in /home/dooders/public_html/wp-content/plugins/fbconnect/fbConnectLogic.php
    on line 501″

    they can not acces the hole site again :(

    help!

    • Im getting this error
      Catchable fatal error: Object of class WP_Error could not be converted to string in /mnt/w0219/d41/s11/b02e229e/www/sitename/wp-content/plugins/fbconnect/fbConnectLogic.php on line 501

      • Same here.

        “Catchable fatal error: Object of class WP_Error could not be converted to string in /home/content/t/e/r/my_site_url/html/wp/wp-content/plugins/fbconnect/fbConnectLogic.php on line 501″

        Sure would like some guidance here.

  7. Chris Ong says:

    Hi, I just installed this on my site and I’m getting the following error:

    Warning: require(/home/chrisong/fgam.dreamhosters.com/wp-content/themes/serenity/comments.php) [function.require]: failed to open stream: No such file or directory in /home/chrisong/fgam.dreamhosters.com/wp-content/plugins/fbconnect/fbconnect_comments.php on line 22

    Fatal error: require() [function.require]: Failed opening required ‘/home/chrisong/fgam.dreamhosters.com/wp-content/themes/serenity/comments.php’ (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/chrisong/fgam.dreamhosters.com/wp-content/plugins/fbconnect/fbconnect_comments.php on line 22

    Unable to see any of my old comments. They are still there (and when I disable plugin they appear again). So I know I’m doing something wrong. I just put the whole directory into my plugin directory. Am I missing something?

  8. Adrian Iorga says:

    Hi! When I try to load the plugin this shows up:

    Warning: require_once(fbConnectLogic.php) [function.require-once]: failed to open stream: No such file or directory in /home/gameswit/public_html/wp-content/plugins/fbconnect/fbconnectcore.php on line 27

    Any ideas?

  9. A.b. Dada says:

    Is there code that I can use to place the “Like” button where I want it? I checked and I don’t mean adding the entire widget, just the “Like” button.

  10. Dave Hauss says:

    on http://www.unlimitedsounds.com the SHARE IT ON FACEBOOK WITH A COMMENT BOX is cut off. I cant see the bottom buttons.. how do I fix?

  11. Hello. Very nice plugin,but I have a little problem. When some user come to my site and login with Facebook everything works perfect. But when user register at my WP site via the reguler registration process (http://www.mywordpress.com/wp-login.php?action=register) he can’t logout via the logout link in the FacebookConnector widget (http://www.mywordpress.com/#). How to fix that? Thanks in advance.

  12. Manu Pop says:

    dont show the submit to FB @ comments, i try and try but never show :(
    http://www.lola-limo.de

  13. anthony says:

    HI Javier,

    Just would like to check with you regarding “I can’t see the Send to Facebook checkbox, on the comments form”

    I follow exact FAQ:

    What i do is from comments.php

    change this to
    From :
    <form id="commentform" action="/wp-comments-post.php” method=”post”>

    To :
    <form id="commentform" action="/wp-comments-post.php” method=”post”>

    and add this before
    ID); ?>

    and i confirm that in FBconnect setting i already checked “Allow send user comments to Facebook.”

    After do all the suggested method, still can’t get “Send to Facebook checkbox” show in comment form

    Need your further advice
    thank you

  14. 小柏 陳 says:

    This is a wounderful plugin, I use it at my blog happily.
    But there is a promble where I check the Send to Facebook checkbox on the comments form.
    And submit the comment, the Facebook Dialog box OCCASIONALLY do NOT appear.
    Why? Thanks.

    ps. My blog uses the plugin of Hyper Cache.

  15. Tony Mazon says:

    On my site, it shows that I have no friends connected, even though I do. Any thoughts?

    http://www.asclive.org

  16. Hi
    when i try to logout i get this error :

    Line 77:

    FB is undefined.

    Can somebody help me?

    thx

  17. Hola!

    Estoy teniendo el mismo problema que varias personas en el momento de enviar un comentario desde el sitio a facebook, y segun he leido es por cambios en el API.

    El error que recibo es: Supplied template data does not cover the following tokens pueden ver el screenshot aqui: http://twitpic.com/1h2vl9

    Que se puede hacer para solucionar esto? Será solucionado en futuras versiones?

Leave a Reply

Login with Facebook: