Simple Facebook Connect

( Hey, if you like SFC, why not check out Simple Twitter Connect too? )

Plugin: Simple Facebook Connect
Version: 1.1
Last updated: 12 days ago.
Downloaded: 344,636 times.

Overview

Facebook Connect is somewhat difficult to integrate with WordPress sites. Many plugins exist to do this, but they are overly complicated, or have security problems, or just plain don’t do the things you want them to do.

It doesn’t have to be this way.

Download Now

Requirements

WordPress 2.9 or higher. Yes, this plugin is for WordPress 2.9, which has not been released as of this writing. Some pieces might work on 2.8, but some won’t.

Features

  • Easy to install and use.
  • Modular. Only use the pieces you want to use.
  • Integrates easily into any theme.
  • Simple control panel, only has the options you need for the pieces you activate.
  • Secure. Uses the latest WordPress coding techniques to eliminate tricky security problems.

Current sub-modules

  • Comment using Facebook Identity (with FB avatar support)
  • Automatically Publish new posts to Facebook Profile
  • Manually Publish posts to FB Profile or Applicaton/Fan Page
  • Login with your Facebook credentials
  • New user registration with Facebook credentials
  • Share button and Shortcode
  • Connect Button Widget and Shortcode
  • User Status Widget and Shortcode
  • Live Stream Widget and Shortcode
  • Bookmark Widget and Shortcode
  • Find us on Facebook button Widget and Shortcode
  • Fan Box Widget
  • Fan Count Chicklet and Widget

Future sub-modules

  • Pull comments back from Facebook published posts into your site
  • (whatever you like, send me suggestions!)

Installation Instructions

  1. Upload the files to the `/wp-content/plugins/simple-facebook-connect/` directory.
  2. Activate the “Simple Facebook Connect” plugin through the ‘Plugins’ menu in WordPress.
  3. Configure Facebook Connect for your site by following the instructions on the Settings screen.
  4. Activate the sub plugins you want to use through the ‘Plugins’ menu in WordPress and configure them appropriately. Some require no configuration at all, some require minor theme changes.

Licensing

This plugin is licensed under the GPL Version 2 only.

Method to get support

You can email me directly, however I am also a moderator at the WordPress.org support forums, so you’ll find me there as well.

Special note about the comments plugin

So many people ask me this question that I’m now sick of answering it. I’m going to put the answer here, and it’s also in the readme.txt file that comes with the plugin. In the future, if you ask me this question, you will not get a response.

To make the SFC-Comments plugin work (on older themes), you need to edit your comments form. This is probably in your theme’s comments.php file.

Instructions:

  1. Find the three inputs for the author, email, and url information. They need to have those ID’s on the inputs (author, email, url). This is what the default theme and all standardized themes use, but some may be slightly different. You’ll have to alter them to have these ID’s in that case.
  2. Just before the first input, add this code:
    <div id="comment-user-details">
    <?php do_action('alt_comment_login'); ?>
    
  3. Just below the last input (not the comment text area, just the name/email/url inputs), add this:
    </div>

That will add the necessary pieces to allow the script to work.

Note: Newer themes that use the comments_form() function don’t have to add any code added to them at all. The plugin automatically handles that case.

Download Now

Support

After 3500 comments on this page, I’ve figured out that supporting the plugin here isn’t working well. So I’m moving support to the WordPress.org support forums. I monitor these regularly anyway, and it’s a better way to do this sort of thing.

If you need help, write a new post there. You can use this link to leave a comment specific to the plugin, and I’ll get notified when you do so.

http://wordpress.org/tags/simple-facebook-connect?forum_id=10#postform

3,502 Comments

  1. says:

    Hi Otto,

    I’d like to integrate SFC with Mingle (which uses its own login, registration and profile pages). Is there a guide anywhere that will point to the code that I need to install in those pages?

    cheers
    Fras

  2. says:

    hmmm. if i use commenting my blog layout not like on this blog

  3. says:

    Hey Otto! Great app. Is there a way for my facebook avatar to show up when I reply to comments left on my blog? My blog account is connected to my facebook account but my avatar that shows up in the comments is the missing man avatar.

    • xiabolai says:

      hi otto! this is the same issue i asked about below (sorry, didn’t see this one first). i take it that the commenters FB avatar is supposed to be saved and show up beside their comment, right? but instead, it’s just the the missing man avatar.

      what’s odd is that, when testing the plugin, i can see my FB avatar above the comment box, but it’s not saved and does not appear with the comment.

      any ideas? thx!

  4. luigi says:

    HI!
    Great tool really…
    I want to use it to register user and enroll them in a newsletter list and gather more facebook profile info as possible.
    But when a user register the plugin asks only the email authorization and not the profile related one.
    In fact in the database I can find only the email address as extra value, nothing else…
    Basically, with user explicit authorization, I’d like to acquire a new and complite subscriber to the Blog.

    Is there some option I did not see?
    Thanks in advance,
    Luigi

    • says:

      Use the SFC-Register plugin instead, if you want to create actual users. The comment plugin only adds them as the author of the comment, not as an entirely new user.

      • luigi says:

        Thank you!
        But this is exactly what I am using… as I wrote it ask only for the email permission…

        • says:

          What more permissions do you think it needs, exactly? When a new user is registered, it grabs some of their info and fills in the fields in WordPress with it.

          • luigi says:

            for example all other public parts of the user profile extended permissions and possibly user_birthday,user_location, user_interests…
            Updated when user reconnect back of course! :)

  5. zhrance says:

    Dear Otto, does the facebook plugin’s also work when you develop on a localhost?

    • says:

      Yes, if you use localhost as the connect url in the facebook application.

      Basically, the way all the FB code works is that it actually sends the browser to facebook for authentication and such, and facebook sends your browser back to your domain with some special calls. The server intercepts these and sets some special cookies on your own domain. Facebook can’t set cookies to go to your domain, but it can send you to your domain with those cookies as passed variables, and a cross-domain-receiver can then set them as cookies.

      The upshot of all this is that for it to work, Facebook must know which domain to send you back to and to set the cookies for. The Connect URL therefore has to exactly match what the visitor sees in the browser URL bar. So if your test instance is on http://localhost/ then that is what must be set up in the Application in Facebook.

      When you move it to a new domain, it’ll stop working unless you’re using an application with that domain as the Connect URL.

  6. says:

    I tried to add facebook connect for my forum http://tszone.co.cc but its not working..

  7. Hi Otto!
    I installed your fantastic plugins suite, and in works good on http://www.skyflash.it, but i’de like to know if there is an italian translation, or any method to translate it

    Thanks :)

  8. says:

    Pluggin was working well but suddenly appeared:

    Warning: curl_exec() has been disabled for security reasons in

    and it does not work

    any solution?
    thanks

    • says:

      Talk to your host. Sounds like they put some security code in and disabled your server’s ability to talk to other servers.

  9. [...] to sort through, but the one that seemed to stand out the most was: Simple Facebook Connect by Otto. (Note: he also has a nice one for Twitter from what I’ve seen). I installed the plugin [...]

  10. says:

    How can i change the look of the buttons “connect with facebook” or “sign in with twitter”? They look yaky on my design.

  11. Sanwal says:

    my Social connect was working fine and still its fine but having problems with LIKE button when i press it gives me the following error:

    The application ID specified within the “fb:app_id” meta tag is not allowed on this domain. You must setup the Connect Base Domains for your application to be a prefix of

    Note: i installed Disqus comment system plugin yesteray on my updated wordpress version (3.0.1) but with a differnt application, and using different API for that.

    any solution to this please?

  12. jessica says:

    funny thing, when I activated SFC – Comments and put the code in my comments-template, I got two buttons instead of one. Maybe because I am using WP 3.0?


    $field ) {
    echo apply_filters( “comment_form_field_{$name}”, $field ) . “\n”;
    }
    do_action( ‘comment_form_after_fields’ );
    ?>

    • says:

      You don’t need to do any of that if your theme supports the new comments form features (like twentyten does). The plugin handles those cases automatically.

      Put your comments.php back the way it was.

      • Aw! cool! Thanks Otto

      • Jessica Schultz says:

        Hi Otto, another problem came up after I put my comments-template back to the way it was. When I log in using facebook connect on a comment form, the SI Captcha disappears, and when I click submit, I get an error saying I did not enter the captcha phrase. Have you heard this before?

        Also, there is a checkbox with no text next to it. In the code, the text says “share comment on facebook” but it is invisible in the browsers.

        • says:

          It’s probably not compatible with captchas, especially if you have the captcha being hidden when people use the Facebook login button.

          Stop using the captcha. They don’t work anyway.

      • says:

        When I added the SFC-Comments, it shows up as “Connect with Facebook” in text, and is not an actual link. What do I need to change? I’m using WordPress 3.0. The “Like” button and “Share” buttons both work.

  13. says:

    Yesterday I has problem with FB servers – connection to FB was very laggy, and same time it was near impossible reach my site. Even enter admin dashboard was impossible. I must delete your plugin files via ftp first, to get access to my site. Can this be fixed? FB servers sometimes can have problems too, and everyone who use your plugin get affected too :(

  14. When I check the checkbox “Share comment on Facebook”, it doesn’t show on my fb-wall. How can I solve this? using SFC 0.21

    • says:

      At the moment, you can’t, because Facebook is having problems with streamPublish. Wait until they fix their issues.

  15. says:

    When I active the ‘Like’ and ‘Share’ buttons for the individual posts, it deactivates my adsense plug-in. What should I do?

    • says:

      Can’t help you there. I know nothing about your adsense plugin, nor can I think of any reason for it to cause a conflict.

  16. Ryan says:

    Question about SFC-Comments
    I looked through the previous posts but didnt see this same issue.

    Installed and configured with the tags that you offer above.
    In my comment area, above the name field, i see the text “Connect with Facebook”
    its not graphical. its not clickable.

    how can i get this into graphical format and have it click to connect with facebook?

    actual issue can be seen here: http://weedtour.treethugger.net/?p=38

    • says:

      Most common cause of this: Your theme does not have the wp_footer() call in the footer.php file.

      Add the wp_footer() call just before the /body tag.

  17. says:

    Sorry for the lack of response lately, everybody, but I am very busy. If you want a response, you’re better off emailing me instead of posting here.

    otto@ottodestruct.com

  18. Daniel says:

    Hi Otto,

    Just noticed we are getting a js error from the plugin on our site mamamia.com.au:

    b is undefined
    [Break on this error] if(!window.FB)FB={};if(!FB.Monitor)FB….n(){return this.__baseType||null;}};}

    Have you got any ideas what could be causing this?

    Thanks

    • says:

      No idea. If you have the wp_head and wp_footer code in your theme, then that’s enough to make the javascript work.

  19. Hi Otto,

    is possible to modify the share button position via CSS? Has it a class?
    I need to float it the the right and set a margin :)

  20. Ian says:

    Love the plugin, is it possible to have the “facebook like” button only appear in single posts? Currently when I activate the plugin the “facebook like” will appear on every page including the homepage.

  21. says:

    Hi Otto,
    I was wondering if there was a way to edit the text wrapping of the like button? I’d like it if the text could wrap around it, rather than leaving a gap above the text where the button is. The tweetmeme retweet button wraps in a similar way and i think it looks better, especially if you are using both together.
    Thanks in advance.

  22. [...] to pop out in the next few weeks. Facebook integration was easier than a very easy thing thanks to Simple Facebook Connect which lets you pick and choose just how much of a bosom buddy you want to be with Mark Zuckerberg. [...]

  23. says:

    Hello!

    Maybe this is a silly question, but, looks like i have my regular wordpress admin profile and my facebook profile on wordpress, how can i link them together?

    Thanks!

  24. says:

    Hi guys,

    I am new here and need a little help, i have created my FB application and also installed the SFC, but when i click on Connect with Facebook i get the following error message “” Error.Error while loading page from TEHRAN 1
    Configuration errors:
    To fix this error, please set your Connect URL in the application settings editor. Once it has been set, users will be redirected to that URL instead of this page after logging in.”" and i cant figure out what it exactly means. any help is appreciated. Thanks in advance.

  25. Hi Otto,
    little problem with sfc-share module. I’ve published the button only ABOVE the content, and styled it with a float:right and margin:10px. When i click the button, i obtain a Facebook windows half-cutted, where i can’t select the options in the end of window.

    Example: http://dl.dropbox.com/u/1174908/sfc-share_buggy.png

  26. Plugins like this are awesome, especially considering the huge traffic potential from Facebook.

  27. Albert says:

    I created a facebook app, I installed the plugin, I linked the API Key, the secret and the ID to the WordPress, I activated the subplugin SFC-Comments, I modified the comments.php adding the lines needed to show the “Connect with Facebook”. Everything it’s OK, they can log in the Facebook profile but…… the message they write never submit, the SEND button doesn’t work. Why? It does nothing…. help :(

  28. Gary says:

    Awesome Plugin. Thank you so much. Just an FYI here about some error messages when posting:

    Error Messages:

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-admin/admin-header.php:19) in /public_html/wp-content/plugins/simple-facebook-connect/facebook-platform/facebook.php on line 395

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-admin/admin-header.php:19) in /public_html/wp-content/plugins/simple-facebook-connect/facebook-platform/facebook.php on line 395

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-admin/admin-header.php:19) in /public_html/wp-content/plugins/simple-facebook-connect/facebook-platform/facebook.php on line 399

    So Commented out the 5 lines here that attempt to set a cookie… and it works fine. This only pooped up as an error once I started the automated publishing to Facebook and gave offline permissions. If I’m not logged into FB I get this error. I am using WordPress 3.01

    • says:

      Go to the SFC settings page, and hit Save Changes. After giving permissions, you always have to save the changes so it can detect and grab the session information. If you fail to save, then you can get errors like these because it’s trying to auto-publish without valid credentials to do so.

  29. Hi Otto,

    I think there’s a bug in the “upcoming events-module”: when you’ve got an event stopping after midnight (f.e: from 21.00pm till 02.00am), the date, when the events begins, on the website isn’t correct. It takes the day after. Can you fix it?

    Thanks a lot!

  30. says:

    I added the facebook connect login widget ob my site. I notice that after I connect on your site that the connect button disappears and that my profile image and name show up in its place along with a logout link. But in my widget the connect button just stays there and my friends find it confusing. Am I missing something?

  31. Tanner says:

    Hi,
    I like your plugin. But I’ve got problems with Facebook Publish.

    I am connected with facebook
    and I can publish to my Facebook Profile (automatically and manually)
    but Publishing to my Facebook Application does not work (neither automatically nor manually).

    If I am trying to publish manually there occurs a Facebook-Error-Message:

    Sorry, an error has occurred.
    We’re working on getting this fixed as soon as we can.

    This message occurs since days. I guess that there is something wrong in the settings of my application. I’ve only changed the connect-url in the settings, nothing else. Did I forget some settings?
    Has anyone a suggestion?

    Thanks a lot!

  32. This is a great plugin!!!

  33. says:

    Otto,
    I’m hoping your excellent plugin is going to make Facebook-mp3travelclub.com integration a doddle – but my programming gifts “aren’t great”. I’ve activated SFC Like, SFC Share, SFC Connect, SFC Login and SFC Register for the time being. Like and Share seem to be working and I have found the SFC Connect widget. But I can’t find widgets or shortcodes for SFC Login and SFC Register
    So my questions are :
    1. How I do get SFC – Login & SFC – Register on to a page ? Are they widgets or shortcodes or something else ?
    2. It seems that I am only allowed to use one copy of the SFC Connect widget and I’d like to put it on blog posts and pages. Any thoughts ? Or will having the Login /Register plug-inlets mean I can use them instead
    3. I am told that using Facebook Connect gives me access to all sorts of useful information including lists of Facebook friends and other demographic information. How do I get at that stuff ? Does the plugin create a table for all that somewhere ?
    4. Can i change the size of the button or centre it somehow in the sidebar ?

    Is there any documentation I can refer to so as not to ask you potentially very straightforward questions like these ?

    BWs
    James

  34. xiabolai says:

    hi, thanks for this fantastic plugin.

    one issue: i installed SFC for Comments and all is working fine, EXCEPT that the users avatar does not show up in the comments. the FB avatar appears above the comment text bow, but after saving the comment only the default avatar appears.

    i’m on wp 3.0.1.

    thanks!

    • says:

      This generally means your theme is trying to be too clever.

      Read this: http://wordpress.org/support/topic/protip-get_avatar-usage-for-theme-authors?replies=15

      • xiabolai says:

        Ah, thanks so much for replying. I’m using the Woothemes Canvas theme with a Child theme and, yes, it’s written differently than other examples I’ve seen on this subject. I’m not a programmer, but hopefully I can find the right place(s) to make the changes. If I can’t, perhaps I’ll reply again with code?

        Many thanks!

        • xiabolai says:

          Hi Otto,

          IT WORKS! Found on the link you sent that someone else was also using a Woo theme, did you fix with:

          function the_commenter_avatar() {
          global $comment;
          $avatar = str_replace( “class=’avatar”, “class=’photo avatar”, get_avatar( $comment, “32″ ) );
          echo $avatar;
          }

          And it worked! Thanks Again!

  35. Waleed says:

    Hi Otto

    Awesome plugins! I’m using both Twitter and Facebook connect. I have one question (/possible feature suggestion) though. On my site I’m using just the connect with Facebook (for comments) and the Like button (shown only on posts), so basically, only my posts page needs Facebook integration. However I’ve noticed that Simple Facebook Connect – Base enqueues the Facebook Connect API scripts on every page. Would it be a better idea to restrict this to only the pages where they are required?

    And if it isn’t a good idea for the general plugin, could you help me do this for my site? Or am I making a mountain out of a molehill?

  36. xiabolai says:

    Hi Otto, love the plugin, now have both SFC and STC for comments going (and all avatars and working!). Quick question: After installing both for comments, the Facebook and Twitter login buttons are butting right up against each other, but I don’t see a css file in either to move them around. Is there a way to style? Or just add some {margin}? thanks!

  37. TheWanderer says:

    Great plugin Otto! I just got one question. I’m using the SFC Publish plugin on a photoblog where I also use the NextGen Gallery. When posting images I use the ‘singlepic’-option to add my images to each post. So when I publish to facebook, instead of showing a small picture and the text, I only get the text: [singlepic id=99 w=570 h=700 float=none]

    Is there a way to fix this? (I guess not since there’s actually no URL to the pictures).
    Not a big issue really, just wondering if it could be done?

    And again, great plugin :)

  38. xiabolai says:

    Hi, A follow up on my question from yesterday re styling the Facebook and Twitter login buttons, which in my case are butting right up against each other above the comment form. I found where you recommend adding the following to the theme’s css file. I did this and it has no effect. Am I doing something wrong? Where should the following be added?

    .FB_login_button { style… }

    Thanks for any assistance.

  39. I’ve added the “<fb:eventlink" to the title of the upcoming events.. but is it correct when you aren't login with Facebook, you don't see the link and title?

  40. xiabolai says:

    Hi Otto, Have a question. I’m using your SFC for comments, and all is fine. However, I need to use a “Fan Page” instead of an “Application Page.” The problem is, the “FAN PAGE NAME” link () at the bottom of all my posts to Facebook links to the Application Page. But, I since I don’t have an “Application Page” I want it to link back to my website.

    Example of links at bottom of Facebook posts – I need the “FAN PAGE NAME” to link to my site, NOT m “Application Page”:

    2 hours ago via FAN PAGE NAME · Comment · Like · Share

    Can you help with this? Thanks!

  41. xiabolai says:

    Really? That’s ridiculous (not you, FB)! I don’t have an “application” just FB Connect. So what does everyone do in this situation…the link that people think is my website is pointing to an empty application page.

    And btw, an “Application Page” is really not the same as a “Fan Page.” Close, BUT it has a big, honkin’ “GO TO APPLICATION” button…but again, I don’t have an application. Do you know if there’s any way to remove that button? I’m floored that this is how it must be.

    • says:

      The go to application button should point at your web page, if you set up your application correctly.

      Look at my Application, for example: http://www.facebook.com/ottopress

      That’s not a Fan Page, that’s my Application. I don’t have, or need, a Fan Page.

      • xiabolai says:

        Yes, yes, I had it set up correctly just like your page is now, the “Go to Application” button was pointing to my website. But doesn’t that seem strange? It’s not an application, it’s a website.

        I thought it had something to do with changing the “Bookmark URL” settings under “User Facing URL’s”…but those cannot be changed without getting into the whole canvas thing…guess that’s not right. Anyway, guess it’s just personal preference, but having the APP button pointing to a site seems like bad UI.

        Thanks so much for your responses…LOVE the plugin.

  42. says:

    Otto,

    I’m still struggling with your plugin as per my questions of 11 August copied in below:

    I’m hoping your excellent plugin is going to make Facebook-mp3travelclub.com integration a doddle – but my programming gifts “aren’t great”. I’ve activated SFC Like, SFC Share, SFC Connect, SFC Login and SFC Register for the time being. Like and Share seem to be working and I have found the SFC Connect widget. But I can’t find widgets or shortcodes for SFC Login and SFC Register
    So my questions are :
    1. How I do get SFC – Login & SFC – Register on to a page ? Are they widgets or shortcodes or something else ?
    2. It seems that I am only allowed to use one copy of the SFC Connect widget and I’d like to put it on blog posts and pages. Any thoughts ? Or will having the Login /Register plug-inlets mean I can use them instead
    3. I am told that using Facebook Connect gives me access to all sorts of useful information including lists of Facebook friends and other demographic information. How do I get at that stuff ? Does the plugin create a table for all that somewhere ?
    4. Can i change the size of the button or centre it somehow in the sidebar ?

    Is there any documentation I can refer to so as not to ask you potentially very straightforward questions like these ?

    BWs
    James

    • says:

      1. Login and register are functional plugins. They mostly work behind the scenes, although Login does add the button to your wp-login.php screen automatically. See http://mp3travelclub.com/wp-login.php where the button is.

      2. You can use the connect widget as many times as you want. Anywhere you want.

      3. Yes and no. If you want access to that sort of information, then it’s possible to write code to get it. However, SFC does not get all this data by default, as it doesn’t need it.

      4. Center, yes. Resize, no. You’ll need to use styling in your theme to center the button.

  43. xiabolai says:

    Hi Otto,

    Love both SFC and STC, using the “publishing” and “comments sign in” for both. Have 2 questions about functionality and or/potential conflicts:

    1) Do you have any plans to implement the ability to import Facebook comments into/out of WordPress like these plugins seem to do? http://wordpress.org/extend/plugins/facebook-comments-for-wordpress/
    http://wordpress.org/extend/plugins/facebook-shared-comments/
    http://wordpress.org/extend/plugins/facebook-comments-importer/

    2) Do you know i using this plugin, which allows users to subscribe to comments, will conflict with SFC/STC comment sign in? http://wordpress.org/extend/plugins/subscribe-to-comments/

    Thanks!

    • says:

      1. Yes, eventually.

      2. Works fine. I’m using it here on this site myself.

      • xiabolai says:

        Great, thanks. Sticking with SFC/STC…will wait for the ability to import Facebook comments into/out of WordPress.

        • xiabolai says:

          Actually, thought of a question regarding the subscribe-to-comments plugin. How does that work when user signs in with either Facebook or Twitter. Since they’re not using an email address to login…can they still “subscribe” to comments if logging in with FB or Twitter? Or does that require they use email address to login? Thanks!

          • says:

            Facebook, yes. The plugin gets permission to get their email address, and puts that email address into the right comment field as their email address. So Subscribe works for them.

            Twitter, no. Twitter doesn’t offer a way to get an email address for a person, so the plugin uses “username@fake.twitter.com” for their email field. Subscriptions to these folks won’t work.

          • xiabolai says:

            Ah, ok. Wow, thanks for the quick reply.

  44. says:

    Hi otto,

    Great plugin. I have one question. When i enable the SFC comments, it does not seem to work. How can i fix this

    • says:

      To make the SFC-Comments plugin work, you need to edit your comments form. This is probably in your theme’s comments.php file.

      Instructions:

      1. Find the three inputs for the author, email, and url information. They need to have those ID’s on the inputs (author, email, url). This is what the default theme and all standardized themes use, but some may be slightly different. You’ll have to alter them to have these ID’s in that case.
      2. Just before the first input, add this code:
      <div id=”comment-user-details”>
      <?php do_action(‘alt_comment_login’); ?>
      3. Just below the last input (not the comment text area, just the name/email/url inputs), add this:
      <div>
      That will add the necessary pieces to allow the script to work.

      Otto is gonna kill me for answering your question as he posted this answer himself up above on this very same page for people with the same question. tsk tsk.. don’t kill me otto.

      • says:

        It still isnt working even after copying the code provided.kindly assist. The last div tag shouldnt it be a closing div tag??

        • says:

          It is a /div. Look at the post on the top of this page, where it says “special note about the comments plugin”.

          • says:

            it still doesnt work Otto, i have posted my comments code maybe you can see something i am missing

            This post is password protected. Enter the password to view comments.

            comment_status) : ?>

            0 Comments

            You can be the first one to leave a comment.

            Comments are closed.

            comment_status) : ?>

            You must be <a href="/wp-login.php?redirect_to=”>logged in to post a comment.

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

            Logged in as <a href="/wp-admin/profile.php”>. <a href="” title=”Log out of this account”>Log out »

            <input type="text" name="author" id="author" value="” size=”32″ tabindex=”1″ />Name

            <input type="text" name="email" id="email" value="” size=”32″ tabindex=”2″ />E-Mail

            <input type="text" name="url" id="url" value="” size=”32″ tabindex=”3″ />Website

            ID); ?>

  45. what do i need to introduce in Connect URL at facebook app settings?

    • says:

      The plugin itself tells you exactly what to put in there. Read the instructions on the plugins settings screen again.

  46. says:

    I’m trying to implement this on a big community site I already have in place and am not having success so I have a couple of questions:

    1. I read somewhere that this doesn’t work for Multisite yet. This is currently how I’m trying to develop the site’s new features. Since the site I’m working on is already live, I setup Multisite on a dev site of mine (different URL) so I can tweak stuff before releasing it on the live URL. I’m not even seeing the login or facebook connect buttons at all. Could that be why?

    2. Since I haven’t been successful at getting the buttons to work, I’m curious about a couple things. I want my users to be able to register for a NEW account with their Facebook credentials. My website allows users to register and become “Contributors” in order to be able to add posts. Comments are disabled on this particular site so that’s not necessary. What happens if a user already has registered previously to adding this plugin? Can they still sign up? Will their username be the same as before? Let’s say they already added a couple of posts with their previously registered username and then go in and connect with facebook. Will they be able to edit their previous posts or will they be considered a new user? That is not ideal for my situation.

    3. My Facebook already has a pretty decent sized community for this particular website. I’m using an RSS plugin to pull new posts from Wordperss to the Fan Page wall. We have over 500 fans. I saw a place where you can add a fan page URL but don’t see where that connects to the plugin on the front end? I really have no intention of ever using that App wall.

    I may have more later. Thanks for the help!

  47. says:

    Hi,
    I’ve installed SFBC base and SBFC Register module. I’ve created a FB application and correctly configured SFBC to match the application settings and keys. However, SBFC Registration doesn’t show up in the WordPress Registration page. I can see some Javascript code has been injected in that page pointing to the FB application and SFBC plugin, but no connect/register button is showing up. Only this layer: which you see is empty. I’ve tried enabling SFBC Login module, same story. It might be something wrong with the Application configuration on FB side: your instructions mentioned that FB would have asked to upload a file, which didn’t happen. Anyway I’m sure I entered the keys correctly… What could be wrong then? Please help me :( I would really really use this plugin in all my websites! I’d also give credit to you if I can make the plugin work :) promise! eheh

    • says:

      Base, Login, and Register all need to be activated to allow Registration to work.

      • says:

        Oh great! Thanks mate – Unfortunately there’s still a conflict with “Customize your community” plugin: if I enable Customize your community, the SFBC button disappears – CYC plugin is crucial for me to customize the appearance of the login/registration and user profile pages… perhaps is there a way to call your plugin on a custom page? I could edit Customize your community plugin to make the SFBC registration appear… maybe… Or maybe can I show up the registration button elsewhere? Thanks!

    • says:

      Uh actually.. not only that.. Even if I disable CYC plugin I still don’t get the Connect / Register with facebook button on WP registration page. SFBC base, login and register are activated and configured. SBFC login shows up in WP-Login page, BUT only if I disable CYC plugin… argh…

  48. Lars says:

    I’ve installed this on a test website a few months ago, and I just started receiving this message: “Facebook doesn’t like your settings, it says: Session key invalid or no longer valid.”
    The site is being tested on localhost, so I cannot provide a link.
    Any ideas are appreciated.

    • says:

      Go to the settings page. Make sure all the permissions are granted on the publish section. Save the settings. That should make it get the session key and save it.

      Alternatively, if that doesn’t work, then Facebook is just broken for the moment. It happens. Sometimes they fix it quickly.

      • Lars says:

        Thanks Otto,
        It didn’t work, but I see that the error message has disappeared. Must have been Facebook.
        Tanks again for the quick reply!

  49. says:

    So… is there any way to call manually the registration/login with facebook button? if there is, I could manually insert that code in my custom wordpress login/registration pages (see my comments above http://ottopress.com/wordpress-plugins/simple-facebook-connect/comment-page-13/#comment-4567 ) thanks

    • says:

      do_action(‘login_form’);

      • says:

        thanks a lot Otto,

        I managed to insert manually the code into my custom login/registration pages
        however, your plugin does not seem to create a new user profile when I attempt to login using a facebook account

        the registration page it doesn’t show any “register with facebook” button

        I assumed the registration would occur simply by clicking on the “connect with facebook” button from the login page

        but after clicking it, I can login with facebook, but no new user is created – which is what I really want!

        where’s my mistake? how to solve this problem?

        I’m using WP 3.0.1, PHP5, a custom theme for WordPress, a bunch of plugins (tried to disable them all, no change) and custom register/login pages…

        I wish so much this plugin to work..

        • says:

          I’m just thinking… the landing page of the modal window is my website home page… perhaps it should be the registration page or the user profile page? …How to do that? Thank you

          • says:

            I’m still lost and i have little time to solve this problem by trial and error or guesses

            is there anyone available for paid assistance to let Otto’s plugin work with CYC? (without modifying SFBC plugin)