Facebook just released the like button for the world, and yea after 2 hours of the release here’s the wordpress plugin..
Now you can add the like button to you’re blog as easy as a cake… Here’s a link to download it… and you can test below before the author bio
[UPDATE 25/4]
Version 2.5 http://blog.ahmedgeek.com/archives/409
[UPDATE]
Here we go Facebook Like Button for WordPress V2…
Features:
- Custom Section in the control panel
- xFBML Support
- Custom Position, After or Before Content
Download Version 2.0 :
http://wordpress.org/extend/plugins/facebook-like-button
Installation:
Very important steps, follow them carefully to get the plugin work perfectly:
- Delete the old plugin directory by deleting FBlike from wp-content/plugins
- Go to your control panel -> plugins -> add new -> upload
- Upload the zip
- activate the plugin
Enjoy and send you’re feedback to me@ahmedgeek.com
This is awesome man, well done.
[Reply]
Reply:
April 22nd, 2010 at 12:13 am
Thax man glad you like it
[Reply]
Wow, that was fast. Thanks for getting after this so quickly.
I anticipate we’re going to be seeing a –ton– of these like buttons on WordPress blogs.
[Reply]
Awesome!
One question. Does the plugin delete the “like” within the post when I remove the entry within FB?
I deleted the entry within FB but the like is still within my blog. It might be a caching issue …
[Reply]
Hi Phil man, actually it’s not caching issue. if you want to remove the like from the site, click again on the like button… that’s it
[Reply]
Great! That rockz!!!
[Reply]
I’m going to use this on a site I’m developing. Thank you for getting this out quickly.
[Reply]
On your site and mine, this prompts me for a password, then leaves me with this page: http://www.facebook.com/connect/connect_to_external_page_widget_loggedin.php
just a facebook banner at the top, and like doesn’t work.
Even though I’m logged into facebook in another IE Tab.
Is this maybe a security setting in IE8? It seemed to work with Google Chrome. Haven’t tried firefox yet.
Very cool that you got this out so quick, though.
[Reply]
To like on any website you have to be logged in to Facebook in this browser..
Cuz Facebook like using the cookies of Facebook to work, and that’s it after logging reload the page and it will work just fine
…
[Reply]
weird. It works in both firefox and Chrome, but I can’t get it working with IE8. Probaby one of the cookie/security settings, but I thought these were the default settings. Thanks for helping, though.
[Reply]
Ok, there’s just something on this PC. Another PC with the same OS and IE8 worked, although I discovered if I’m at my default page looking at all of the posts, and I like one of them, it likes all of them on the page. I guess that’s just based on the link I’m actually on?
[Reply]
Will there be a “Share it on Fecebook with a comment…” function?
[Reply]
Reply:
April 22nd, 2010 at 2:29 pm
Of course next update will include customizing option, and you will chose from iFrame version and the XFBML version which has the sharing option
[Reply]
I like!
[Reply]
This is not working correctly. If you notice, when you “Like” something with this plugin it “Likes” every post. If you look here: http://jford.net/2010/04/22/facebook-like-button-and-wordpress-integration/ this is a hack on your wordpress theme that does work.
[Reply]
No it’s not liking every post… this’s url related plugin.. so it take the url in the browser bar and likes it.. so if you are in the home page and u click on the like button it’s going to like the home page not the post…
[Reply]
That’s an interesting problem, do you have any idea how to modify your templates so the previews on the front page of the blog won’t post the “Like” button?
[Reply]
Hi Todd, i’m releasing V2 later today i’m adding xFBML feature and will try to fix this problem
[Reply]
Ahmed you are doing an excellent job here man!
Thanks!
[Reply]
Thax Manogr..
.. enjoy V2 it’s now released
[Reply]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/********/public_html/***************/wp-content/plugins/Facebook Like/Add_Facebook_Like.php on line 72
what the going here ?it’s not working for all the posts just the first one is working and athors not worling !!!!!!!!!
[Reply]
email me please .
[Reply]
I am facing the same problem as fahad…
[Reply]
Okay sorry everybody.. Bux fixed
[Reply]
Cool man!!
You really rule!!
[Reply]
Now I have another problem… it loads only a small part of the page and at the end:
Table ‘db65545_wp_newsbytes.FBLikes’ doesn’t exist
[Reply]
I’m very very sorry… i did something wrong.. but now i changed the whole database module.. and it should work perfect
sorry again
[Reply]
I have a problem in the installation
[Reply]
What is it ?
[Reply]
Everything works ok for me now!
Thanks ahmed!
[Reply]
Hello Ahmed!
I want to use the xFBML version but I don’t have an “App ID” and I’m not a developer.
What should I do?
[Reply]
Hi Jimmy,, go to http://developers.facebook.com/setup/
Write your site name and url and that’s it they will give you an appid
[Reply]
Ok, I got the App ID but when I choose the xFBML radio button and click save settings, the option is still active on iFrame button.
[Reply]
it’s okay no problem,, but now the selected version is xfbml.. i will add new feature in the next update to show the current settings
[Reply]
aah ok. thank you.
also; i liked one post only and i noticed that all of my other posts are “liked” automatically. Is this a natural reaction of the plugin or do i have to re-configure?
[Reply]
aha this is a wordpress problem.. i’m sure you were on the home page.. And to know you didn’t like the posts you liked the home page.. cuz as i said before this is a current URL related plugin so it likes the URL that is in the browser bar
[Reply]
i see. it’s ok though.
Thank you once again for your quick response and this nice plugin.
[Reply]
Reply:
April 23rd, 2010 at 10:40 pm
You’re Welcome
glad you like the plugin
[Reply]
??????? ???? ?? ????? ????? ?? ??????? ??? ??? ??? ???????? ??? ?????? ???? ??????? ??????? ?? ???? ?????? ?? ???????? ??? ??? ???????
[Reply]
Can you add the locale? Like french
Thanks
[Reply]
What’s the container class option do?
[Reply]
Reply:
April 26th, 2010 at 12:10 am
@Lan
You can make you’re own style and hook it to the like button div.. like you can make the background green or something with some borders… That’s it
@??? ????
Seems like your name in Arabic or something
.. However thax a lot
[Reply]
NM I figured it out.
Pro tip: I had to add a special CSS rule to give the like button enough room. I found that it was overlapping the object under it and it was right against the object above it. Personally I’d like the see the height grow when somebody likes something so there isn’t empty whitespace before something gets liked.
On the whole I LOVE this plugin. Many many thanks!
[Reply]
Hi Ahmed,
This plugin looks fantastic and you are clearly responsive to your customers. Well done!
I’m wondering if there is a way to customize where the “Like” area is inserted. For example, I’m using a customized single.php page that inserts custom fields (screenshots, author bio, etc.) after the post of an app (for example: http://www.knowproapps.com/bird-id/). I wouldn’t want the “Like” to go directly after the four paragraphs description, but either (a) at the very bottom (after the “In All KnowPro Apps” section) or — preferrably — (b) in the right hand column (a separate file include, sidecontent.php).
Can you please tell me how to accomplish that?
Thanks in advance!
[Reply]
I see what you did there.
Thanks for the quick update. The height adjustment fixed the overlap problem I was having.
I also like the ability to add custom CSS classes to the plugin. I use a class from my theme that creates a border w/ rounded corners. After giving it a 6px padding to match the curved corners it looks really professional.
[Reply]
NM I figured it out.
Pro tip: I had to add a special CSS rule to give the like button enough room. I found that it was overlapping the object under it and it was right against the object above it. Personally I’d like the see the height grow when somebody likes something so there isn’t empty whitespace before something gets liked.
On the whole I LOVE this plugin. Many many thanks!P.S. my name is IAN, not LAN. It’s hard to see the difference without a serif on the font. The name is Scottish but I am not.
[Reply]
Hi Ahmed. AMAZING job. I tried a few other “like” plugins, and your is best by far. I had two requests you might consider adding in a future version:
1) A “like” widget. This would act as a homepage like button (as opposed to an individual article’s like button). I currently have a manually placed button that links to my site’s FB page, but I’d much rather have a like button for the site, as my FB “page” isn’t active at all.
2) The ability to select left or right alignment. I would prefer to have it aligned to the right, but I’m CSS ignorant.
THanks again!
Ira
[Reply]