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. I just added FB connect to my WordPress blog (http://vurbanity.com) and all seems to be fine except…new posts wont appear on the facebook page wall. the feed just isnt happing. the only way to read blog from facebook is to click “go to application”

    can someone please HELP?! all I am trying to do is have new posts appear on the wall so everyone knows there is something new to read.

    THANKS!

  2. I just installed FB Connect for my wordpress blog. Everything looks good except…the new posts don’t appear on the wall. SO no one sees new posts get posted and wall is just empty. What am I missing. HELP PLEASE!

  3. i am getting this error

    Fatal error: Call to undefined function add_theme_support() in /hsphere/local/home/c249747/buzzpk.com/wp-content/plugins/fbconnect/fbConnectCore.php on line 214

    plugin is unable to active :(

  4. Chris Howell says:

    I’m having a problem with avatars in the comments section. FB Connect changes the css of the theme and I want to edit it back. I played with the fb connect css file and nothing worked. Where should I be looking to edit or should I edit something in the css file of the theme. Thanks for your help

  5. Chris Howell says:

    fb connect is AWESOME!!! But one problem I’m having is that it changes the avatar style in the comments section. I want to know how to edit that to match my original theme.

  6. Me da un error al intentar conectarme a facebook… la web es misreflexiones.net por si me pueden echar un cable

  7. Excuse me, now I understand the problem… Today I add in my sidebar the facebook BADGE Fan this to do in conflict with your widget and the avatar display here… Not in all the widget.

    FB.init(“9b0e26c7d52a8f5ca82b10a76a04bcd9″);MalavidaBlog on Facebook

    This is my text/HTML widget if you want develop a solution to this problem…

  8. Hello I don’t see avatar in my FB widget on my wordpress blog… I use facebook connector 2.5.2 the beta version… yesterday all ok… and now I don’t see the avatar for an idea visit to see the problem http://www.malavida.netsons.org/wordpress

    Thanx in advance

  9. Hola! me encanta este plugin pero estoy teniendo un problema para inplementarlo en mi sitio web.
    Solo parece funcionar correctamente con mi perfil. Otros usuarios q no estan registrados en mi sitio, pero tienen cuentas de Facebook no pueden conectarse, es decir aparece la ventana para introducir sus datos y luego se carga el campo donde deberian aparecer su foto de perfil y nombre, pero no aparecen y el boton de conectarse a Facebook sigue visible, y la instalacion de wordpress no los reconoce como si hubieran ingresado al sitio.
    De nuevo, esto pasa con todos los usuarios no registrados, porque con mi perfil no hay problema alguno.
    Quisiera saber si hay alguna idea de porque sucede esto. Gracias por adelantado.

  10. Luigi Vibal says:

    Sorry for my previous comments i tried to paste the codes but it’s not appearing on the thread. Anyway my question is simple my wordpress theme don’t support widgets where will put the code that you mentioned here on FAQs? where exactly will i put that code?

  11. Luigi Vibal says:

    hey where will i put this code:

  12. Luigi Vibal says:

    Hey! where will i put this codes?:

  13. Hola Javier, este plugin está increíble!!
    y funciona a la perfección

    Tengo dos preguntas:

    1) El email que te pone de los usuarios, que supongo viene del perfil facebook, tiene algún detinatario?

    2) Cómo hago para que mis usuarios se hagan fan del sitio antes de ver una parte del contenido?, ya probé con pero no me funcionó.

    Gracias por tu respuesta y felicitaciones de nuevo…

    Bernardo
    http://www.guiasdeneuro.com.ar

  14. Hola Javier
    tu plugin es… BRUTAL!!!! en serio, me encanta y lo veo MUY MUY UTIL para la comunidad!
    Enhorabuena!!! :D

    Solo un par de cosas:
    1)quiero meter el widget de facebook connector (comunidad, amigos, etc)
    pero mis columnas para widgets son demasiado estrechas… He probado a poner el codigo de aqui arriba (para los wp q no soportan plugins) en sidebar.php, pero hace que el sitio web se vuelva loco… se te ocurre algo?

    2)como borro los comentarios de los usuarios de facebook que se loguean en mi web? Porque no me llegan a la seccion “comentarios” del wp-admin, y cuando desde la propia entrada le doy a “eliminar” me salta un error…

    este es mi sitio por si quieres verlo: ipadizate (punto) es

    Un saludo y de nuevo, enhorabuena!

    Daniel

    • Javier Reyes says:

      Hola Daniel,
      gracias por utilizar el plugin.
      1) Prueba de nuevo con el código:
      <?php
      widget_FacebookConnector(array());
      ?>

      En el que tenía en la página había un espacio que podía originar el problema.

      2)Los comentarios de los usuarios ,que se conectan con Facebook Connect, se pueden aprobar automáticamente, esta opción la puedes configurar desde la página de administración del plugin.
      Los comentarios aprobados los puedes ver desde la zona de administración de comentarios de WP. No parecen en la página principal de comenatrios.
      ¿Qué error te da al eliminar un comentario? ¿Qué versión de WP utilizas?

      Saludos

  15. WHEN i click on view more users, it does not show user pictures there

  16. very clean, will have to test it out and see if it has the functions I need

  17. Josh says:

    Very nice plugin. On my site I allow users who are logged it to post content, not just comments. I would like to be able to show their facebook avatar next to their post but can’t see to get it to work. Since using this plugin doesn’t enter an email for the user I can’t get the avatar by email address. And since I’m outside the comment loop I can’t use that method either. Any ideas?

  18. Robert Welch says:

    Can anyone tell me why my picture only shows up if I am logged into Facebook? When I logout, I get the silhouette regardless of the site I am on; until I log in. I have checked and rechecked privacy settings to no avail. Ideas or resolution would be greatly appreciated. You can see what I am talking about at my site
    http://www.stangsgarage.com

    • Groovy says:

      It’s because your facebook privacy settings are probably such that your picture is not visible unless you are logged in or a friend.

      • Robert Welch says:

        I’m guessing it’s one of them but I cannot figure out which one. I’ve changed I think just about everything I can.
        Thanks for the reply though. Let me know if you happen to stumble across the right setting.

        Cheers!
        Stang

  19. I have the same problem as Ben…
    also when we published comments on facebook the website back link will go on website/wordpress folder instead of root.

    Everything was working fine before i transfered the index page from the wordpress folder to the root.

    anyone know where i can fix the problem?
    thanks

  20. Ben Lord says:

    hi… having a little issue where every time the ‘logout’ link is clicked, the user is taken back to the blog/ wordpress directory rather than the main site root. IE, instead of landing back at http://www.mysite.com, it’s going to http://www.mysite.com/wordpress/ . Any thoughts on a remedy?

    thanks for a great little plugin!

  21. mj says:

    Hi,

    my issues are:

    1.) the facebook images does not show up, not even the tiny “f” on the blank image. im using the facebook theme.

    2.) Also on the pop-up window (where you insert the email and pasword for facebook) after i click “connect” this pop-up window just goes back to homepage. And im not logged in facebook unless i refresh the current page.

    So I hope the pop-up window would just close automatically and current page will be refreshed..

    thank you

  22. it works for my wp 2.9. thanks. ^^

  23. what about a mu version?

  24. Nikita Irmal says:

    Hi there,

    this is great plugin, got most of it to work on my site. I have two questions – Please help!!!

    1. What do I need to do if I would like to enhahnce the plugin to include the “Add Bookmark” component so users of my blog can bookmark the blog as a facebook application on their facebook page.

    2. The Invite freinds feature allows me to go thru the entire flow but none of my FB friends receive the actual invite. Do you know why this is happening?

    Please advice.

    Tanks a ton for your help.

    Merry Christmas and Happy New Year to your families and you!!!

    Nikita

  25. HK says:

    Got the button to work in FF and IE but wont work in Safari or Google Chrome. ANy suggestions?

  26. Junior Amaro says:

    ya solucione mi problema funcionaa la perfeccion

  27. Sal says:

    Hi Jorge,

    This plugin has awesome functionality so great work!

    I would like to have JUST an FBConnect button on a header menu bar and the rest of the visitor box, profile update, etc on a specific user page (which will be widget enabled).

    So, is there a function to call JUST the FBConnect button, instead of the whole visitor table? After the user logs in, I don’t want the table to appear on my menu bar.

    Thanks very much!

    • Sal says:

      Never mind. I figured it out. You just insert the appropriate XFBML tag in the theme. For example, fb:profile-pic for displaying the profile picture or fb:login-button for the login button.

      Thanks tho.

  28. Adrian Reza says:

    Hi Reyes, i wanna ask something, i used your plugin in my blog, but why the login button only showed up in Firefox and Opera?

  29. Ya solucione el error, ingrese a la carpeta del plugin en mi server, abri el archivo invitefriends y luego de:

    <fb:request-form
    action="”
    method=”GET”
    invite=”true”

    Agregue la linea:
    type=”AQUI_NOMBRE_DE_LA_APLICACION”

    Hice todo esto y me funcionó correctamente…

  30. Me sale el siguiente error al intentar invitar amigos:

    Han ocurrido errores mientras cargábamos la página de la aplicación
    Errores de tiempo de ejecución:
    fb:request-form: Required attribute “type” not found in node fb:request-form

  31. Jason Green says:

    When clicking the Connect with Facebook icon, I get a security warning stating:

    static.ak.connect.facebook.com:443 uses an invalid security certificate
    The certificate is only valid for a248.e.akamai.net
    Error code: ssl_error_bad_cert_domain

    I get two buttons, CANCEL and VIEW CERTIFICATE

  32. Salman Ahmed says:

    @Tim Nicholson: is your version of the plugin at xtremelysocial publicly available?

    Love this one too and all the effort that’s gone in this work.

    • I haven’t made my http://Xtremelysocial.com version of the Facebook Connect plugin available. I actually want to the developer to work with me to roll some of things into his. I also see in his code references to a future “Pro” version of his plugin, so I’m thinking he might want to start charging for some more of the advanced features, such as viewing your Facebook stream. I’d like to know more about what his plans are there. So Javier, if you are listening, please reach out to me.

  33. Hi. This is a great plugin! We recently implemented this for a client, however the Facebook login button does not appear in IE or Chrome. We tried the suggestions in the site but to no avail. Please could you advise?

  34. Jayson says:

    I can’t see the facebook user photos on the comments. I see that there’s a FAQ for that question but I don’t understand the solution. Would someone please explain the solution to me?

  35. Marvin says:

    How do you put a “Connect with Facebook” on the blog post comments area? Is it possible. And also, how do I make facebook pull the articles from the blog (instead of showing the blog home page), and from there facebook users can comment (then it will export that to the blog) and vice versa.

  36. Duan says:

    Hi! Great plugin but when users click on a picture, it takes them to a page with info about that user, which breaks the CSS-structure entirely. How might I edit this so that the CSS isn’t destroyed?

    Thanks!

  37. Alex says:

    Hi, I would just like to find out how to remove the “Login” link that takes you to the “wp-admin.php” page…? So, i just want people to be able to log in with Facebook credentials and not WP credentials… any help would be greatly appreciated! Thanks :)

    • Jorge says:

      You should edit the file fbconnect_widget.php inside the “fbconnect” directory in your plugins directory.

      • Hola jorge,
        he visto tu consejo, pero no me aclaro :(
        a ver si me puedes ayudar, edito el archivo que dices, de forma que no de acceso a WP-Register
        Pero que debo cambiar o suprimir ¿?
        Gracias :)

        • Javier Reyes says:

          Hola,
          con la nueva versión del plugin ya no aparece la opción de login de WordPress, y tienes una opción de configuración para que los usuarios no accedan a las pantallas de WordPress para editar su perfil.

          Saludos

  38. Vivek says:

    Posting comments to facebook does not work. It showed an error with template. When I checked the facebook application to create a template, I see this message:

    “Facebook will deprecate template bundles and their related API calls December 20, 2009.

    Please start using stream attachments with stream.publish, FB.Connect.streamPublish, and Facebook.streamPublish instead.”

    How to make this work?

  39. Hello,

    I can’t get the user photos to show. I did everything in the FAQs and comments (add code to comments.php and header, disable SSL, edit URL to drop www.), still nothing, only shows my profile pic. Any ideas for tweaks?

    I’m using WP 2.8.4. with customized Thesis theme.

    Thanks,

    Peter

  40. brunet says:

    Sabes como mostrar mas visitantes que 9?
    solo salen por defecto 9 y me gustaria mostrar 15.

    http://www.blogswow.com puedes verlo aqui, al hacerlo en columanas de 4 queda un poco mal

    gracias.

  41. @Simon, this plugin does not publish WP articles to a Facebook page, nor does it poll FB for comments. It only lets you login to WP with your FB ID and post comments both to the WP site and to Facebook. I have heard that there are WP plugins that will publish posts to FB and pull FB comments on those posts back into your WP site and I’m going to be checking those plugins out and seeing if they are compatible with this plugin. I’m develop FB apps and websites and my vision is to have a WP site that is completely integrated with FB (and MySpace and Twitter). I’ve made some enhancements to this plugin, like showing your FB home page news stream and a list of your FB friends at http://xtremelysocial.com. I’m pinging Javier these days to see if we can work together to enhance the plugin.

  42. @Will, hablo solamente un poquito de espanol, pero en Engles: your callback URL doesn’t really matter. You can set it to the root of your website or wherever WordPress is installed. What’s important is that you have your API key and Secret key set properly in the plugin. The one strange thing with the callback URL is that FB will end up having an application that displays your WordPress page in an iframe. Its not going to look good, especially if you are using a theme with a sidebar, but that’s just how FB works with connect apps.

    I can tell you how to create an FB app from scratch that displays on FB instead of your website in an iframe. Just let me know if you want more details.

  43. Philip John says:

    I’m using this plugin but nothing is showing on the comments page. I have the correct code in. It’s as if the hook isn’t working. I’m on WP v2.8.4

    Any ideas?

  44. Alex says:

    When logged in with FBConnect, it displays “Your email address is apps+153033057438.63105642.72cf2c30d180f452a57d089acb200d33@proxymail.facebook.com

    That’s ugly. I can’t find it in the PHP anywhere to remove it. Can anyone else find it or know how to remove it?

  45. Jan says:

    This is an amazingly great plugin. I have one issue with Internet Explorer though. I can’t login with the facebook button in IE. The same thing for even this very site here. If you could fix that would be great

  46. Does the plugin pull comments put comments made on Facebook on the site?

Leave a Reply

Login with Facebook: