Simple Facebook Connect

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

Plugin: Simple Facebook Connect
Version: 1.5
Last updated: 135 days ago.
Downloaded: 606,235 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. Hi otto the like plugin breaks the mingle forum plugin.

    Is there away to turn off the like plugin on a particular page ?

    i have tested the blog all day and only plugin causing mingle forum to not show is the like plugin.

    regards Spotcream Team

  2. facebook give me the field called “App ID/API Key”, but the plugin won’t take the same value for both

    • Either use the new beta plugin (look at my last comment) or go to the URL given in the Help dropdown. The API key is not really the same as the App ID.

      • Dear Otto, Could you tell us who exactly we can find exactly “App ID and API Key”. In my facebook application page I can only find ID and Secret Key.

        I can’t find Facebook API Key or it the same as ID and it doesn’t wkork.

        Thanks

        • Go to https://www.facebook.com/developers/apps.php .

          Get the correct info from there.

          • Facebook show the same numbers for App ID/API Key and for your plugin we have to fields. When I fill with the unique key for both it doesn’t work.

            Please advice

            • The API Key is NOT the same as the App ID. Seriously. You’re looking at something new Facebook created which is *wrong*.

              Go to THIS LINK. Not any other one. This one.

              https://www.facebook.com/developers/apps.php

              You *will* find the correct info there.

              • I find the solution. I create my facebook application as fan page administrator account so I didn’t access to your url. Facebook redirect me to a page to create a Profile, wich is FORBIDEN by FB as entreprise/product page !!!

                I add my personal facebook account as administrator of my applications page and now when I click to your link I get access to as you said a different ID/API key. So now I have 3 diffrent numbers for your 3 diffrent fields.

                I don’t know why FB is doing this but I find a work around.

                By the way thanks for your help.

              • Otto, you can spout that as much as you like, however, it doesn’t change the fact that FB still displays a field titled App ID/API Key and the number.
                They do NOT show, ANYPLACE I can see, a separate number.

                If all you are willing to do is repeatedly tell people to ‘LOOK’ and they ‘WILL’ find it, without bothering to be any more helpful, then I’ll find a different plugin to use. I’m sure that won’t hurt your feelings any, and it sure won’t matter to me at all, so it’s a wash.

                Really though, you need some lessons in Customer Service skills sir. Put up a FAQ or something, point out one time what people actually need to do, and then point to your FAQ, at least that would be helpful…

                Thanks for your time.

                • Jim, I understand your frustration, but I honestly don’t know how to explain it any better or how to make it any simpler.

                  There are TWO different places you can look and see the API key. One of them has the wrong number, the other of which does not.

                  The one you’re probably looking at is here: https://developers.facebook.com/apps . This is the one that shows the App ID and the API key to be the same. This is the WRONG page. If you’re using the beta version of SFC (0.999), out in a week or so, then you wouldn’t need the API key anymore, and this would be fine.

                  The one you need to be looking at is actually here: https://www.facebook.com/developers/apps.php . Notice how that is a *completely different URL* than the one you’re looking at? Notice how it takes you to a completely different page? Notice how the new page that it takes you to has a completely separate API key? That’s the one you need for the 0.25 version of SFC.

                  Now, what part of this is unclear? How can I possibly simplify this any further? There’s two different webpages, with two different sets of information. The one I’ve linked to here three times now has the separate and different API key. Is there any further method by which I can possibly explain this? Smoke signals, perhaps? Sign language? I mean, I really don’t know what more you’re wanting here or how I can make you understand what you need to do…

  3. Testing your new plugins for my photoblog… Not sure I have them all figured out yet!

  4. I’m having a little trouble searching the comments, but is there anyway to put the summary/excerpt of the post as the status update that goes with the link when auto-posted?

    Obviously you can add whatever text or caption you like when manual posting, which is fine, but when you’re scheduling posts, you cannot do that.

    Thanks

    • The excerpt (or an automatically created one from the content if there is no excerpt) is already used as the “description” of the posted item when auto or manual posting. Adding it again as the “message” with the post wouldn’t exactly make much sense.

      It could be possible to add a second field somewhere where you could put in a message to be used for that, but I don’t think you’d really want the content or part of it to appear again there. Generally people want their status updates to be something different than the body of the link which they are posting.

      • The post is added in the link description, and if it is short enough the excerpt does show up at the end. We have manual excerpts for each of our posts.

        And I agree, I wouldn’t want to put the same thing in, but usually the excerpt doesn’t show up anyway. If I have to make another field for it then sure. If I have to do some dirty coding myself for it I’m not toooooo bothered, but if it’s pretty complicated then I will just leave it alone and keep we have.

  5. I have problem with this plugins,I am admin of http://cyberkey.co.cc and i installed “simple facebook connect” plugins on this site, but when i want to login as admin to my site via facebook it does not work…and a error message show “ERROR: Facebook user not recognized.”

  6. […] Simple Facebook Connect is a series of plugins that let you add any sort of Facebook Connect functionality you like to a WordPress blog. This lets you have an integrated site without a lot of coding, and still lets you customize it exactly the way you’d like. Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on this topic. (No Ratings Yet)  Loading …   Tags: plugins, WordPress, WordPress Plugins Visited 2 times, 2 so far today […]

  7. I installed SFC and (properly, I think – I got the API key and Application secret and ID) set up a FB application page so I could publish my posts to my FB page. However, when I click the Publish to FB profile, I just get an error page on FB. Also, I enabled the “like” button to show up after the content of my posts, but it is not showing up. I don’t know if I have a problem with this plugin or on the FB side. Do you have any tips? Thank you.

    • @Cab I have a same problem, Not only this the facebook share option is not working!!!!!!

      • When I install the FB share option, that one works seemingly just fine. But Publish to FB doesn’t work (error – please try again later) and the FB like button doesn’t show up.

        • True – i found the same problem. I just want to use, publish to fan page – fan page set properly (mean the ID) – but when i publish my stuff at WP and then after i push publish to fan page button in editor, it returns me an error. But first it tells me to go to facbook (in the facbook share window).

          any solution?

          thanx
          cheers

  8. Hi Otter,

    Has some issues installing your plugin, that led to a site crash. I am having some issues resolving things, and wondered if you could send me feedback on the work I’ve completed to resolve the issue. I have documented the issue here:

    http://wordpress.org/support/topic/wordpress-404-errors-upon-login-no-access-to-dashboard?replies=1#post-2246464

    Thanks in advance for your feedback.

    Cheers,
    Colleen

  9. […] Simple Facebook Connect is a series of plugins that let you add any sort of Facebook Connect functionality you like to a WordPress blog. This lets you have an integrated site without a lot of coding, and still lets you customize it exactly the way you’d like. ← Adding Google Plus One […]

  10. Just installed FBC, setup a FB app, put in all the settings and activated Base, Login, Register, Connect and Comments. But when I go to “Appearance” and “Widgets” I dont see anything I can add as a block/widget to register or login? Clearly I am missing something?

    Any ideas/suggestions?

    • go to settings tab on the left side of page. click “simple facebook connect” link and you’ll find the settings for those widgets.

      • I have the same problem, and the settings page has nothing to do with it. It’s just a form with three fields to enter API key and such. No settings whatsoever. There should be a widget available for login once it’s activated. Something’s broken. Any help appreciated.

  11. I added the “Connect with Facebook” button as a Footer in the widgets settings but it does not
    appear on my home page.

    What is the code to place the Connect with Facebook button on a particular area of my Home page?

  12. Hello Man….

    I loved your plugin and everything went smoothly till this morning, when all the hardcoded line (a simply call to like button as you suggest) gave a great number of errors… i had to disable any SFC…. i m uptodate with WordPress (3.21.) is it a known issue??

    m

    PS it happened suddently (didn’t add any new plug ins)

  13. Can’t wait to see if your coding skills will include being able to make avail a similar plug-in for Google+ Is this on your tech road map?

  14. Hi Otto,
    thanks for your plugin.
    I want only comments on my post, I’ve insert the ID and the other code in the settings page but I can’t appear at the end of the posts…
    You can help me?
    Thanks

  15. hey otto, is there an Option to enable the use of Facebook user’s profile pictures as avatars in WordPress? if so how do u enable it?

  16. Hi,

    Is it possible to make the checkbox “Share Comment on Facebook” configurable, so I can choose that it is checked by default or not?


    Sannie

    • Yes, but that would be against Facebook’s Terms of Service. They require that these sort of things are off by default, as they want the user to take some sort of affirmative action to post to Facebook.

  17. This plugin works perfectly on my wordpress 3.2.1 site. Thank you

  18. I am trying to configure the Status Widget to no avail. I have the base connection done right because the FanBox widget is working correctly. The Status widget doesn’t pull any data from FB. I set up a FB App for this but how does the App pull data (like status) from the actual FB fanpage? Maybe that’s the problem…
    Thx!

  19. Hi Otto. Great software, thanks for your hard work. I am also having trouble with the Comments plugin, specifically with avatars. I am running WP 3.2.1 and a recent WooThemes theme (Premiere). First the comments did not work at all, then I edited my comments.php file according to the directions up top. Now it works, I see my FB avatar when I’m commenting and “Hi you are connected with your fb account” but when I actually publish the comment, my FB avatar doesn’t show up, only the default “Mystery Man” avatar.

    Can you please advise? Thanks very much.

    _____ My comments file

    <input type="text" name="author" class="txt" id="author" value="" size="22" tabindex="1" />

    <input type="text" name="email" class="txt" id="email" value="" size="22" tabindex="2" />

    <input type="text" name="url" class="txt" id="url" value="" size="22" tabindex="3" />

  20. I need to show avatar FB in my WP comments, how i can that? I use twenty ten. Thanks, great plugin!

  21. 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