I am trying to share article from my site to facebook using facebook connect.
The code i am using so far is -
Code: Select all
<html>
<head>
<title>My Great Web page</title>
</head>
<body>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.mysite.com"
scrolling="no" frameborder="0"
style="border:none; width:450px; height:80px"><iframe>
</body>
</html>
Is there any good tutorial to do the same in php ? And is it better to use XFBML than iframe ? Why ? Any examples ?
Thanks