views:

627

answers:

5

Hi, i have been looking for a javascript code which is like the facebook "like" widget to put in my blogger site.

The examples of the buttons are like in the following website,

http://textsfromlastnight.com/

Where people are able to flag the "Good Nights" or "Bad Nights".

I have no experienced in writing scripts neither do i have any script writing programs, so was wondering if any people can help with the scripts, or maybe tutorials would be of great help!

Thanks!

A: 

Javascript may provide the functionality of AJAX in order to have a pleasant user interaction when the clicking the "like" button, but it won't be able to save the totals and display then to other users. You'll need to implement a backend for that with a database that maintains the "likes" for each entry. So Javascript can speak to the server and let it know what kind of action the user is taking, but it can't actually make the changes without the support of scripts (for example, PHP) on the server.

Nate B
A: 

FML.com is a similar site to textsfromlastnight.com, and they license their code to other sites. You can get the code at http://www.fmyscript.com/ if you're willing to pay the licensing fee.

Or, you can get Stack Overflow's platform from http://stackexchange.com/, but again a licensing fee is involved.

JohnK813
A: 

Try Polldaddy.com third party service. They admit like or unlike and star rating.

Paul
A: 

this guy is using it too > on a blogger template!!! http://www.chethstudios.net/2010/04/chethstudios-redesigned.html scroll down and see it.

Dainis
A: 

If youre only interested in the feedback functionality without the facebook integration, try this:

http://wordpress.org/extend/plugins/likebot/

Just installed LikeBot in my blog and it works like a charm. They also have simple Java snippets on their page in case you're not using wordpress.

Tobias