Creating multiple like in a dynamic php page
1) Create the FB like code
2) Two formats
<.script src="http://connect.facebook.net/en_US/all.js#xfbml=1"><.fb:like href="http://*****/fb_like.php" show_faces="true" width="450" font="verdana">
<.iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2F*******%2F******%2Ffb_like.php&layout=standard&show_faces=true&width=450&action=like&font=verdana&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true">
3) I just used the first method
<.script src="http://connect.facebook.net/en_US/all.js#xfbml=1">
<.fb:like href="http://*****/fb_like.php?id=1" show_faces="true" width="450" font="verdana">
<.fb:like href="http://*****/fb_like.php?id=2" show_faces="true" width="450" font="verdana">
<.fb:like href="http://*****/fb_like.php?id=3" show_faces="true" width="450" font="verdana">
<.fb:like href="http://*****/fb_like.php?id=4" show_faces="true" width="450" font="verdana">
=========================
the above one is a XFBML (script code) that is non iframe code
No comments:
Post a Comment