Tips: Admin vừa cập nhật tính năng comment bằng facebook

Code like fanpage cho wap - web

2.6.14 Unknown
1. Đầu tiên là code này Like theo Url không hiện đối tượng

A. Dạng Iframe
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Ffacebook.com/www.vl48.net&amp;width&amp;layout=standard&amp;action=like&amp;show_faces=true&amp;share=true&amp;height=80&amp;appId=315601111921960" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:80px;" allowTransparency="true"></iframe>

B. Dạng Code  Html5 (dễ edit style)
- Dán trên thẻ mở <body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/vi_VN/sdk.js#xfbml=1&appId=315601111921960&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
- Dán vào nơi muốn hiển thị
<div class="fb-like" data-href="https://facebook.com/www.vl48.net" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>
2. Dạng like có hiện hình đối tượng













A. Dạng Iframe
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Ffacebook.com%2Fwww.vl48.net&amp;width&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=true&amp;appId=315601111921960" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:290px;" allowTransparency="true"></iframe>

B. Dạng Code  Html5 (dễ edit style)
- Dán trên thẻ mở <body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/vi_VN/sdk.js#xfbml=1&appId=315601111921960&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
- Dán vào nơi muốn hiển thị
<div class="fb-like-box" data-href="https://facebook.com/www.vl48.net" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="false" data-show-border="true"></div>
Thay những đối tượng màu đỏ thành link web/wap của bạn hoặc Fanpage của bạn 
Code này like theo bài cho blogger nếu bạn pro nó có thể dùng cho tất cả loại mã nguồn
thay dòng màu đỏ

<iframe allowTransparency='true' expr:src='&quot;//www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;send=false&amp;layout=button_count&amp;width=80&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:80px; height:21px;'/>

Vậy là đã hoàn thành chúc các bạn thành công

╔══╗
╚╗╔╝
╔╝ (¯`v´¯)
╚══`.¸.VL48 -

Từ khóa : Code, like, fanpage, cho, wap, -, web,
Code like fanpage cho wap - web Code like fanpage cho wap - web
9 10 1

Bài viết Code like fanpage cho wap - web