Entry Baru

Friday, November 25, 2011

tutorial facebook like button



bila diri nie dilanda kebosanan..tergerak hati plak nak wat tutorial nie..
yela kan..kalo kat facebook tu asal tulis status baru je,mesti ada yang nak like kan?mcm yg kat atas tu..
blog pon bley gak..jom kita wat..
Step 1 :
Dashboard > Design > Edit Html > tick expand widget>ctrl+f
pastu cari code nie..
<data:post.body/>

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

Step 3 :
Preview dulu..kalo jadi baru save!
Post a Comment