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
- Upload the files to the `/wp-content/plugins/simple-facebook-connect/` directory.
- Activate the “Simple Facebook Connect” plugin through the ‘Plugins’ menu in WordPress.
- Configure Facebook Connect for your site by following the instructions on the Settings screen.
- 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:
- 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.
- Just before the first input, add this code:
<div id="comment-user-details"> <?php do_action('alt_comment_login'); ?> - 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

Hi Otto, I just had to deactivate SFC-Like Button because none of my posts will load when it’s active SFC-Share button and all others work fine and SFC-Like did work before so not sure whats up. Any ideas?
issue fixed.
Hi otto,
Maybe you’ll have an idea about a conflict i’m expecting with another plugin.
“tiny-contact-form” & “SFC – Like Button”
“tiny-contact-form” is just a one .php file contact form. When form is submitting, I receive the e-mail twice. And the problem is coming from the “SFC Like Button”. If desactivated the form works fine.
I already have contacted the author of the plugin but he doesn’t know. Maybe you can give me a advice? $_POST function ? I’ll appreciate
Thanks
All that the like button code really does is to insert some code into the header of the pages and to put an iframe pointing to Facebook’s like page in the content. That’s it. It doesn’t do any trickery with POSTs or anything of the sort. So I have no idea how it could be interfering with your contact form.
Otto,
I reported your like button also messes up nextgen gallery plugin too. Leaves he gallery page blank. So i now use a separate plugin just for the like button features on my site as yours some how breaks nextgen.
So maybe your plugin does something a little different to the other plugins?
No idea, man. It really doesn’t do anything special along those lines.
And using Like Button with XFMBL instead of iframe?
I can’t see away to use the like button with XFMBL?
All I can say is it does something odd to stop nextgen gallery to work. Even if you have it set to manual. it doesn’t work. You can see what happens on my test site here http://www.hardwareoholic.co.uk/gallery/ that is with the like button set to manual. If you click on a gallery you don’t get any pictures. just a blank page. If I use another plugin called “Facebook Like” it doesn’t have any issues with my nextgen gallery.
I don’t know man, I don’t use NextGen Gallery. It’s somewhat buggy and causes all sorts of weird problems because of its non-standard methods of doing things.
For galleries, I prefer to use the built in gallery functionality of WordPress. It’s more easily customizable. See the one I created for Matt’s site: http://ma.tt/category/gallery/. That uses nothing but some special theme coding for the gallery category and the image template.
what about my idea to use XFBML instead of an iframe ?
As I’ve explained before, changing the like button to use XFBML would require rewriting most of the entire plugin. The Facebook Connect javascript does not support the XFBML Like button, and changing everything to use the newer Javascript SDK is not a minor change. So at this time, I don’t have the time to do it.
The Faceboo create App link fails after entering the website name and url it goes to an empty page http://www.facebook.com/developers/createwizard.php
normal ?
i had the same problem just go to http://www.facebook.com/developers/ logged on facebook and you can see all your apps. I had a bunch of them, all the same because i had the same problem and executed the create application many times
Yeah, their wizards aren’t really maintained all that well. Annoying. I need to change the links in the plugin to point to the developer app instead.
thanks for the quick replies,
yes I had 8 apps
Hey!
I’m working on a wordpress theme and I’m trying to implement your plugin. What drives me crazy since a couple hours is, that the FB Connect button won’t show up anymore in Safari (Mac) after using it ONCE. Even on your website http://cl.ly/04967cae04f71b74f36e no connect button! I can’t find answers using Google! Everything is working fine in Firefox, not in Safari though.
Do you know whats the mess in there?
Facebook itself is the mess. Their code (which you have to use) is quite frankly pure crap. It works sometimes, it doesn’t work other times, and the cross browser support is just terrible.
Nothing I can do about it though. You have to use their code to make the thing work at all.
Arrgh, too bad! Thanks for the quick reply though
Appreciate that
Hello Otto,
First of all I congratulate you for the excellent work you’ve done with your plugin. I need to explain how to use the box fan, what are the judgments? for your configuration by placing it in my sidebar.
Thanks, I await your response.
I don’t understand your question. The Fan Box is a widget. Activate it then go to the widgets area of WordPress and add it to your sidebar that way.
Ok It’s true the fan box is a widget and so active this code: but what are the settings to pass to the function so that such stories do not show the stream.
Sorry for the question, i am novice for php.
Is there any way to style the Like button, ive been adding CSS to my stylesheet in the form of:
.connect_widget .like_button_dark .like_button_no_like, .connect_widget .like_button_dark .like_button_no_like .piece {
background-color:#C7C7C7;
border-color:#E2E2E2 #C7C7C7 #C7C7C7;
}
and tried changing the color codes, but to no avail. Is there any way we can style the fbook like / share butons, I know i can change the Fanbox which is nice but id love to change these. http://sceneoutsd.com/wp/nightlife/nightlife-in-cahoots/
Hi!
First of all, thanks for that plugin!! But since today when I click on “Publish to Facebook Fan Page” only appears a white dialog, there ara any problem with Facebook???
Thanks!!
I am having this problem too..
Ah ha. Facebook broke something… again. http://bugs.developers.facebook.com/show_bug.cgi?id=8573
Hey Otto, just wanted to say thanks for a really useful plugin.
No idea how I wudve integrated all the facebook stuff into my site otherwise. Really a good job.
Unfortunately Ive run into a problem,
I switched hosts and upgraded to wordpress 3.0 at the same time.
Now when trying to reinstall your plugin and entering in my API key and other codes to get the plugin to work, there doesnt seem to be a ‘save settings’ button anymore. In other words, I can enter in the api code, but there is no way to save it?
Maybe I’m missing something simple…but I cant seem to get in to work anymore
K. Yap – I ran into numerous dashboard issues with the WP 3.0 upgrade as well.
It turns out that there are other plugin conflicts that will prevent submit buttons from being allowed to be hit.
For me, the Headspace plugin and a Google Maps plugin were the major culprits… I suggest disabling other plugins so that you can hit save, and then re enable them.
Hope that helps –
Matt
hey thanks for the advice matt. Ill try disabling some plugins.
if not i suppose i can downgrade from 3.0…its been annoying me with its memory issues as well
In case anyone else has this problem i figured it out:
the ‘submit’ button wasnt showing due to the increased memory limit needed for wordpress 3.0
after increasing my php memory limit to a ridiculous 256mb (im quite fortunate my host allows this) the submit button reappeared and I am now able to use the facebook connect plugin once more =)
Generally this sort of thing happens when your memory limit is set too low to begin with (32 MB is too low, IMO). Setting it to ridiculously high numbers like 256 MB will work, but 64 MB would probably have been enough too.
The particular case in SFC that causes this issue is the RSS feed being pulled in from Facebook. I added that to display problems Facebook has posted about, in the hopes that people would stop emailing me about problems that happen when Facebook’s API goes down (again).
If you’re willing to play with it a bit and can find a “sweet spot” for memory usage for me, then I can put a check on that and make it not display the feed when the memory limit is too low for it to work.
I have been using your SFC plugin for a while now. I am not sure what happened, and it appears others may be having a similar problem, but for some reason I can no longer even manually publish posts to my facebook application?
I have not changed anything in my settings, and it appears to be able to continue to publish to my wall.
Right now, all i get is a blank confirmation box that does not have the submit field.
Thanks,
David
Yes. Facebook broke it. Again. http://bugs.developers.facebook.com/show_bug.cgi?id=8573
thanks…comforting i guess!
When FB fixes this, will the auto-publish work?
Not for Applications, no. They aren’t doing anything to fix that and appear to have no plans to do so. Annoying, I know.
Auto-publish does (or did) work for Fan Pages.
[...] 13.) Facebook Connect. [...]
Does anyone have any idea on where we would input the given code for the comments module in the Headlines Theme (by woo themes)?
Rishan
I installed and activated the base plugin plus some of the sub-plugins, but nothing happens. I’ve configured the settings correctly but nothing is showing up on my site. What am I doing wrong?
Nevermind…It’s working now!
Otto:
I have set up my Fanpage to auto publish. I have granted all my permissions (offline, publish, fan page) but for some reason, my ‘grant offline permission’ continues to reset, and ask for permission.
My error string starts as follows…
Fatal error: Uncaught exception ‘FacebookRestClientException’ with message ‘Session key invalid or no longer valid’
Thoughts?
After you grant the permission, click the “Save” button on the page, so the plugin can get the session key and save it.
I have done this, but for some reason it resets after only a few minutes
Dunno then. Sounds like a Facebook problem. If they are reverting the permissions, then there’s nothing I can do to fix it.
Appreciate the prompt feedback.
Just to confirm, once i grant permissions to the app, they should not need to be reset, so that any posts should automatically be posted to my fanpage?
Once you have granted permissions and saved, then you’ll see a new message on that screen saying it’s “ready to go” or similar. This means that the session key has been found and saved in the database, and that the plugin will use it to auto-publish to the page, if you have that checkbox enabled.
The “ready to go” message is what you’re looking for here.
it is very strange indeed…it must be a facebook issue, because what is happening is that every 5 minutes or so, one of my permissions is released…
it can be any of the 3 permissions, and i have no idea which one it will be. I just notice it when my publish fails.
Maybe I will just wait a day or so and try again to see if it is resolved.
I am sorry to continue to pester you, but I wanted to provide the entire error stream…
Fatal error: Uncaught exception ‘FacebookRestClientException’ with message ‘Session key invalid or no longer valid’ in /…/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php:3112 Stack trace: #0 /…/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php(926): FacebookRestClient->call_method(‘facebook.stream…’, Array) #1 /…/wp-content/plugins/simple-facebook-connect/sfc-publish.php(371): FacebookRestClient->stream_publish(NULL, ‘{“name”:”testin…’, ‘[{"text":"Share...', NULL, 'FanPageID') #2 /.../wp-content/plugins/simple-facebook-connect/sfc-publish.php(286): sfc_publish_automatic(824, Object(stdClass)) #3 [internal function]: sfc_publish_auto_check(‘publish’, ‘new’, Object(stdClass)) #4 /…/wp-includes/plugin.php(395): call_user_func_array(‘sfc_publish_aut…’, Array) #5 /…/wp-includes in /…/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php on line 3112
Thanks again
The only way to make it stop is to uncheck the automatic publishing checkbox. You are getting the error because you haven’t granted permission and saved yet. You won’t stop getting the error until you grant permissions and save and it actually works. There’s no other way to do it.
Hello,
first of all, thanks for such a great plug-in. I’ve been wondering where/how can I prevent Like button from appearing on regular pages, where it—in my case— makes no sense (I’d like to have it assigned to posts only).
Thank you for reply.
Hello Otto.
Could you please tell me what is wrong with my facebook application settings =( If you put this information into this page wp-admin/options-general.php?page=sfc it could help some other people
http://clip2net.com/page/m0/6950155
Regards
Try reading my post on this topic, it should clarify things for you:
http://ottopress.com/2010/how-to-setup-your-facebook-connect-application/
Sorry for being stupid and not noticing the manual =)
Thank you very much!
Hi, Otto…
Your SFC plugin is great, and till now, I used only “SFC Publish”, but now i try to put and “SFC Comment” but it does not work… i put code, like u wrote in readme.txt (not in loop, but in form), this is part of code:
Logged in as <a href="/wp-admin/profile.php">. <a href="/wp-login.php?action=logout" title="Log out of this account">Logout »
Name
<input type="text" name="author" id="author" value="" size="40" tabindex="1" />
Email Address
<input type="text" name="email" id="email" value="" size="40" tabindex="2" />
Website
<input type="text" name="url" id="url" value="" size="40" tabindex="3" />
But comments still don’t work (publish works perfectly), nothing appear in post… I have WP 3.0 and latest SFC.. may it be conflict with some other plugin, or i did something wrong?
regards
Did you activate the comments plugin too?
Yes, of course
“SFC Base” and “SFC Comments” are active… also it’s activated “Allow people to post comments on new articles” in general WP options…
here is my test server:
http://ivona.hobotnica.net/wp/
Well, you definitely edited something wrong, because your page just stops halfway through.
Undo your code change and try again. Email me directly if you need help editing the comments file.
Thank you.. i’ll backup my files, and try again.. i know i deleted some parts from comments.php cause i didn’t want them to be published, maybe i delete something extra more
thnx anyway, if i don’t resolve, will send mail…
regards…
[...] Facebook ile ilişkillendirilmesi “SFC Plugin” (Simple Facebook Connect) tarafından [...]
Otto,
Similar question to Calacirya. Our integration is going well, although I am still learning facebook. We have the posts Publishing, added like, share and Find badges to our site. Thank you so much these are great!
Edited the comments theme file, “Connect with Facebook” shows up in the comment.
WP 3.0 http://www.LondonderryNH.net
Comments made on the WP platform do not show up on the FB page. Comments made on the FB page do not show up on the WP platform. Am I expecting it to do something it does not do?
Yes, it does not do that, at all. Comments are not shared between your site and Facebook. It doesn’t work that way.
The SFC-Comments plugin lets people leave comments on your site using their Facebook credentials. That’s it. Simple.
Thanks Otto!
Frankly in the years I have read your posts helping wordpress people, can you blame me for thinking you could do it?
Still a super hero to me!
Have a great weekend!
Hey Otto,
Ive been trying to figure something out with the publish plugin and i’ve been going back and forth on the Facebook Developer forum and cant figure it out. I was wondering if you could take a look and maybe give me your opinion?
http://forum.developers.facebook.com/viewtopic.php?pid=250527#p250527
Thanks so much
If you mean that you want to change where the “via” link points, well, you can’t. Doesn’t work that way.
Notice that the other links do link to your webpage. The title of the entry, the “See More” link (if the item is long enough to get one), etc.
Hi Otto,
Great plugin as I’ve said before. I was wondering if you were able to add the ability to pull comments from Facebook to WordPress? I have had a couple of requests to add that (I am up to 3 so far) as some blogs are now getting more comments on Facebook and they would like to pull those back in.
Thanks again for this plugin.
It is possible to do that, but I simply haven’t had the time recently. Perhaps one day soon.
Hello there, I have a problem with the Simple Facebook Conncect plugin. When publishing a post from the blog to facebook, I get a problem with accented characters (à ò è é ì) used in the Italian language.
See an example here:
Original Blog Post:http://www.acalabro.com/index.php/2010/07/24/per-la-libert-di-predrag-matvejevic/
On Facebook (post of the 24th Jul): http://www.facebook.com/cuoredicactus
I am sure this has something to do with coding I guess, but I don’t seem to be able to fix it. Any chances you could help me out?
Many thanks
Claudio
Hi Otto. Thanks for the nice plug in. I’m trying to use it on my site’s comments and following your instruction above I can see the button in the form. When the user presses the button, they are prompted with FB login form, they enter details and nothing happens. comments appear as from Anonymous. Do you have any suggestion if I can fix this within the plug in code/ theme’s code or else. I guess it might be something with the theme I have installed but…All that I need is that when a user leaves a comment – their name to be linked to their FB profile. Thanks.
Hey!
I’m still trying to configure the plugin to work properly. I’m currently having the issue, that if someone is posting a comment (when being logged in with his FB-Data) and ticks the “Share Comment on Facebook”-Option, it’ll always share THE FIRST BLOGPOST EVER WRITTEN and not the one he’s dropping a comment on.
Same if he’s hitting the “Logout”-Button. After logging out the plugin always redirects to the FIRST BLOGPOST instead of index.php. This is so weird…
Can you (again) help me with that? I really appreciate your patience with bugfixing by the way
Philipp
And ya, I have set “http://localhost:8888/playground/” to all required URL-fields (eg the one’s related to redirect-stuff) in the Facebook Application settings
Hi Philipp, Did you found the solution to this?
Can I pass any arguments with the sfc_like_button(); function?
Yes, you can. The arguments take the format of an array with named parameters. Here’s how you’d call the function with the default parameters (assuming you run the trunk version of the plugin):
sfc_like_button( array(
'id'=>0,
'layout'=>'standard',
'showfaces'=>'true',
'width'=>'450',
'height'=>'65',
'action'=>'like',
'colorscheme'=>'light',
'font' => 'lucida+grande',
) );
Read the source code for more info on how they work. Mostly they’re the same as the options in the widget.
Cool, thats just what I needed.
Thanks for the quick help, and all your work on a great plugin
Great plugin. I successfully installed and activated “SFC Comments” without problem. However, the plugin is pointing to a new Application ID instead of my existing one that already have followers. In essence, I am trying to change/point my application id to another one.
Go to the SFC Settings screen, put in the correct Application ID and Secret. Click “Save”.
Otto, I appreciate your fast response. Maybe I am confusing myself with FB terminologies, but I do have couple of issues here:
I’m trying to link the plugin to my existing FaceBook page that already have followers. My FB pages appears to have only an application ID but not an API key. During the initial install of the plugin, I did add the application ID for my page but it is defaulting to a newly created api key and appl id.
Please note that the SFC-Comment is the only option that I have enabled. So when you say “Go to the SFC Settings screen”, how do you access it?
I don’t really understand your response here. Did you activate the base plugin or not?
The base plugin creates the settings page (Settings->Simple Facebook Connect), where you can put in the application ID, API key, and secret. It doesn’t “default” to anything, you have to put the values in there. By default, they’re blank. It can’t magically pick up values out of nowhere.
And you get all three of those values from your Application (not a “page”). There’s a separate, optional, setting for a Page that you can use, but that is optional. The three Application settings are not optional at all.
Your existing “Page” is not an “Application”. You need to create the Application, by following the instructions it gives you. There’s a separate setting for your Page ID, if you have one.
Thanks, I fully UNDERSTAND and have implemented what you mentioned above.
I activated the plugin and I’m able to “connect with FaceBook” and share comments on my FaceBook. That works GREAT!
What I am struggling is this:
Despite, creating the Application and following the instructions by providing a separate Page ID (My Blog Page ID), the shared comments now appears on my individual FaceBook page but shows “via” pointing to the newly create application.
Thanks for your assistance. I will revisit my setup again and make sure My Blog Page ID that was entered during the installation is saved instead of the application’s.
Yes, and they always will. You cannot make a post “via” a Page. Only Facebook Applications can make posts. Pages are nothing, they are basically filler space. You can make a page for anything you like and people can be a fan of it, but Pages are frankly second-class entities. They can’t DO anything.
The “via Your Application” is not changeable or adjustable in any way whatsoever. This is why Pages are optional, because Applications are better than them. They are like Pages that can do things.
Hello Otto, I have a problem with the Simple Facebook Conncect plugin. When publishing a post from the blog to facebook, I get a problem with accented characters (à ò è é ì) used in the Italian language.
See an example here:
Original Blog Post:http://www.acalabro.com/index.php/2010/07/24/per-la-libert-di-predrag-matvejevic/
On Facebook (post of the 24th Jul): http://www.facebook.com/cuoredicactus
I am sure this has something to do with coding I guess, but I don’t seem to be able to fix it. Any chances you could help me out?
Many thanks
Claudio
The only error appears to be in the agrave html entity there, and this plugin isn’t the one doing that.
This is a great plugin. However I doesn’t seem to load on Chrome browser. Works okay with IE. Using WP 3.0. Any suggestions or is there something I doing wrong?
Works fine in Chrome for me. Don’t know what the issue is with your browser.
Hi, why is it that every time I try to login to my wp site via the “connect with Facebook” button, and click the Allow to share link, I always get “ERROR: Facebook user not recognized.”
I have the apikey, secretkey, and appid configured, and I have the app created, so what am I missing? Thanks!
You haven’t connected your FB account to your WordPress account, so the login plugin doesn’t recognize you.
Login to WP normally, then go to Users->My Profile and connect your accounts.
Hi Otto,
Thanks for the plugin. I have one of the two facebook plugins working at this point. “Fan Box” is working fine, but I have never gotten “Upcoming Events” working. In “Upcoming Events” it asks for the User ID which I use the same one as “Fan Box”. But it has never worked. Here is the website that I used your widget on:
http://ribcityutah.com
My thinking is that I have this right as the “Fan Box” is working great, but I see nothing in the “Upcoming Events” section of the website.
Any help or giving me a direction to look would be great. I am using wordpress 3.0 and the Theme Suffusion
Thanks
Dave
Strange, normally a fanpage has the following structure in the URL: http://www.facebook.com/PAGES/fanpagename, but I don’t know if that’s the reason…
Hey Otto,
Thank you for this plug-in it’s really amazing.
I’m having an issue with the Connect with Facebook Widget. I don’t want users creating an account on my Blog, but I would like them to be able to connect to their Facebook on the site for things like comments (I already have the comments section set up and working fine). The problem I’m having is that users are able to log in with their Facebook accounts, but when they do, the Fan Box disappears, however when you click another page it returns. So I was wondering if there was a way to add a line of code for the page to refresh once a user has logged into their Facebook account via the Sidebar Widget.
You can test it out to see what I’m talking about here: http://blog.nativeremedies.net/blog
Thanks,
David
The Connect widget is really only geared towards allowing logins (in conjunction with the WP-Login widget). It doesn’t really work with the comments plugin for that sort of thing.
The comments plugin pretty much stands alone. You’d have to put custom code in your sidebar to make a connect button there work with it.
Neither of these should affect the Fan Box in any way.
is there a way to reply as administrator of a fan page?
Not at present, no. Facebook seems to be phasing this out.
I’m only trying to use the facebook login feature and I’m getting this error:
Error.An error occurred with Family and Friends Link. Please try again later.
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
What am I missing/doing wrong?
Thanks
I’m having the same problem… please Otto, give us a hand here…
same problem…how do we fix this??
Hey Otto,
It looks like you have done a lot of work with this plugin, so don’t take this the wrong way. I think the WP-login, WP-register and WP-connect plugins are too confusing and complex.
I’m not even sure I understand the difference between them. May I suggest you combine them and simplify the process.
For example, I want to be able to have users come to my site, and be able to login using their facebook credentials. The whole point is so that they don’t have to create an account. But with your plugins, they are required to?
It should just be the “Connect with Facebook” button, they put their Facebook UN/PW and then an account is created and they are logged in. It shouldn’t be anymore complicated than that.
That’s just my take.
-Drew
So I’ve been playing around with this some more, and to me, it seems like the “Connect with Facebook” button that shows up on the register page is the part that seems most odd to me.
Currently, you go to the register page. If asks for UN and Email. There is a “Connect with Facebook” button, which as far as I can tell, just auto-fills out the UN/EMail boxes. The user still needs to click on the register button and they still get emailed a password. Is that correct?
To me, if a user clicks on the “Connect with Facebook” button while on the register page, the Facebook popup should come up with UN/PW boxes. The plugin should then auto-create a WP account with the UN/PW/Email from the users Facebook profile. That would simplify the whole process, and actually make it easier for Facebook users to use my site (which is the whole point of this plugin I think).
What do you think Otto? Am I nuts for thinking it should be this way?
Keep up the good work!
I have a WooTheme That I think has something to do with it not working:
“”
comment_status) : ?>
comment_status) : ?>
<a href="/wp-login.php?redirect_to=">
<form action="/wp-comments-post.php" method="post" id="commentform">
<a href="/wp-admin/profile.php">. <a href="" title="">
<input type="text" name="author" id="author" value="" size="22" tabindex="1" />
<input type="text" name="email" id="email" value="" size="22" tabindex="2" />
<input type="text" name="url" id="url" value="" size="22" tabindex="3" />
<!--XHTML: You can use these tags: -->
<input type="hidden" name="comment_post_ID" value="" />
ID); ?>
Help PLEASE!
[...] Simple Facebook Connect – This plugin comes with many different options. You can give your visitors the ability to [...]
I installed the facebook connect and when I try to grant permissions to update facebook I get this error:
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
Any help would be much appreciated.
Thanks!
I fixed it..just had to change the connect url in the application settings.
Glad that worked for you we’re having the same problem a couple posts above yours and my url is set just fine.
How do i know if my connect URL is ok? Ry: you changed it from what to what?
I am also experiencing the same issue, I would appreciate some guidance on setting up the connect URL.
Thanks.
I don’t understand all the confusion here. The Connect URL is the same as the main URL of your blog. It tells you the correct URL on the Settings page, before you create your Facebook application. Mine is http://ottopress.com/ for this site, for example.
Try following the instructions here: http://ottopress.com/2010/how-to-setup-your-facebook-connect-application/
One requirement Facebook recently added: The Connect URL must end with a / character. Just like your blog’s actual URL does.
All my settings appear to be correct, and yes I would agree the url thing is pretty straight forward and if you forget the / it gives you a warning anyway so you know to correct it.
I still get this however:
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
When I go to http://www.mysite.com/wp-login.php and then click on the Facebook link that is associated with your plugin I get this error. All I want to know is what might be the cause.
Thanks
Ok I reviewed your install instructions and had a couple minor, but apparently crucial, differences there. Corrected them and don’t get the error anymore.
However when I hit the “connect with facebook” button and then allowed it to proceed recognizing my facebook account it gives me an error saying “facebook user not recognized”. Why am I getting this?
Thanks Otto
You’re trying to login but WordPress doesn’t know who that Facebook user is yet.
Login normally, then go to the Users->My Profile page. Connect your two accounts.
Thanks Otto… that tutorial was useful…
Newbie help – Want to change the “Find Us on Facebook” button so that it opens in a new window?
Simply change in sfc-find.php the following code from:
return ‘<a href=”http://www.facebook.com/profile.php?id=’.$fb_id.’”><img src=”‘.plugins_url(‘/images/findonfb.png’,__FILE__).’” /></a>’;
To:
return ‘<a href=”http://www.facebook.com/profile.php?id=’.$fb_id.’” target=”_blank”><img src=”‘.plugins_url(‘/images/findonfb.png’,__FILE__).’” /></a>’;
It is very bad form, as well as non-standard, to use the target=_blank parameter to force links to open in new windows. No website should do this, ever. If the user wants to open the link in a new window, they have the option. Doing it for them when they don’t want it to happen just ticks off the user.
Links should never open in a new window.
Hi Otto,
I get two of this warnings when activating the sub plugins like button and share, so two of the same warnings, one for each one of the sub plugins:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘wp_new_excerpt’ was given in /home/content/89/5509089/html/wp-includes/plugin.php on line 166
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘wp_new_excerpt’ was given in /home/content/89/5509089/html/wp-includes/plugin.php on line 166
I was wondering if this was solved somehow elsewhere or if you could give me a hint to debug this,
Thanks,
Luis
I’d say you recently upgraded your WP install, but were only partially successful. The errors you’re referring to are errors from some part of WP not being there.
How does sfc-publish.php populate the images it publishes to a Facebook Fan Page?
Whenever I click on “Publish to your Facebook Fan Page” in ‘edit post’, everything works fine but the post only includes text (no thumbnail present on the Facebook Fan Page). I also tried the ‘set featured image’ option in wordpress3 to see if that would generate an image on the Facebook Fan Page during publication but still does not work.
Looking through sfc-publish.php there’s the section entitled:
// look for any images in the content
Should I be looking there?
Found problem and resolved it
Not sure how you resolved it, but basically, yes, it will look through the post for any IMG tags and find the images therein, then use those. If you use the post-thumbnail feature, then that gets used.
Some plugins that display images in unusual ways will not get their images found by this approach. Not much I can do about that, unfortunately.
Hey.
The plugin is working, but the auto publish feature isnt.
How can i auto publish to the fan page? The button is grey!?
User ID and Session Key found! Automatic publishing is ready to go! thats there too, but i must publish manually. And i have a fanpage, why?
Did you turn on the automatic publishing checkbox? If you’ve set it all up and have that on, then it is automatically publishing.
this is quite a plugin! very very nice that you are releasing this GPL2. there are
some paid plugins that are no where near this good!
thanks,
Keith Eric Yates
The SFC code has been added to the comments section. But the FB Share button is not showing up. I am not a web developer but see something in the code that should have it come up:
[fb:share-button href="http://thelilylist.com/2010/07/28/citibabestest/" type="box_count"][/fb:share-button]
(Replace the []‘s with normal html greater/less than signs).
Here is my website: http://www.thelilylist.com
Any help would be much appreciated.
Make sure that your FB Application is fully setup correctly: http://ottopress.com/2010/how-to-setup-your-facebook-connect-application/
Thank you Otto. I tried to read everything I could before posting. I cannot believe I missed this very important information. One more question. Would you be able to tell me how to move the FB Share next to the Twitter Retweet like you have on this page?
Add styling to the .FB_share_button class.
Like so:
.FB_share_button {
float:right;
}
Thank you very much Otto!