Tutorial : Facebook like button

Facebook like button

Dashboard > Design > Edit HTML > Tick kotak Expand Widgets Template. 
Sudah? :B Now, tekan CTRL+F and search this,

data:post.body

ha, dapat kan? okay now paste code bawah ni, dekat bawah data:post.body ok? 

<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&amp;layout=standard&amp;show-faces=true&amp;width=530&amp;height=60&amp;action=like&amp;colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:530px; height:60px'/>

Preview dulu, kalau jadi, save terus! :D Goodluck! x

No comments:

Post a Comment