Translate

Thứ Hai, 2 tháng 5, 2011

Tạo Facebook Like Button cho Blogspot

Để chèn Facebook Lite Button bạn chỉ cần truy cập vào trang Facebook plugin và chọn các tính năng bạn cần sử dụng trên blog như hình dưới (cũng có thể không cần truy cập, chỉ cần copy đoạn code được hướng dẫn dưới đây và chỉnh lại cho phù hợp).
Bạn có thể tùy chọn kiểu button phù hợp với giao diện của blog cũng như là sở thích của mình.
Có các kiểu button như sau:
Sau đó nhấn nút Get code để lấy đoạn mã chèn vào blog.
Sau khi đã lấy code của button, bạn truy cập vào tài khoản Blogger. Chọn Layout -> Edit HTML -> Chọn Expand Widget Templates.
Sau đó tìm đoạn code:
<data:post.body/>
Nếu muốn chèn nút LIKE phía dưới tittle trên nội dung bài viết thì bạn chèn đoạn code lấy từ Facebook trước , ngược lại nếu muốn nút LIKE xuất hiện vào cuối bài viết thì chèn code lấy từ Facebook vào sau đoạn .
Ví dụ:
1
&lt;iframe src="http://www.facebook.com/plugins/like.php?href=http%253A%252F%252F<span style="color: #ff0000;">www.etraveltips.net</span>&amp;amp;<span style="color: #0000ff;">layout</span>=<span style="color: #ff0000;">standard</span>&amp;amp;<span style="color: #0000ff;">show_faces</span>=<span style="color: #ff0000;">true</span>&amp;amp;<span style="color: #0000ff;">width</span>=450&amp;amp;action=<span style="color: #ff0000;">like</span>&amp;amp;font=verdana&amp;amp;<span style="color: #0000ff;">colorscheme</span>=<span style="color: #ff0000;">dark</span>&amp;amp;<span style="color: #0000ff;">height</span>=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"&gt;&lt;/iframe&gt;
Có thể tùy chỉnh lại chiều cao, độ rộng của button cho phù hợp.
Nếu sau một thời gian sử dụng bạn muốn thay đổi kiểu button bạn có thể tùy chỉnh trực tiếp vào đoạn code lấy từ Facebook.
Layout = standard / button_count
show_faces = true / false
action = like / recommend
colorscheme = light / dark
height: 60px
Save Template

Các bạn đang xem trang http://www.CONETVN. blogspot.com

10 nhận xét:

  1. Woah! I'm really digging the template/theme of this website. It's simple, yet effective.
    A lot of times it's challenging to get that "perfect balance" between superb usability and visual appeal. I must say you've done a fantastic job
    with this. Additionally, the blog loads very quick for me on Internet explorer.
    Exceptional Blog!
    Here is my webpage : facebook seduction

    Trả lờiXóa
  2. Today, I went to the beach with my kids. I found a sea shell and gave it to my
    4 year old daughter and said "You can hear the ocean if you put this to your ear." She put
    the shell to her ear and screamed. There was a hermit crab inside and it pinched
    her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!
    Check out my site ... http://unionrichusa.com/

    Trả lờiXóa
  3. Thanks for sharing such a good thinking, post is good,
    thats why i have read it fully
    Review my web page ; www.webwiki.de

    Trả lờiXóa
  4. Hi there, I found your site by way of Google even as looking
    for a related topic, your website came up, it seems to be good.
    I've bookmarked it in my google bookmarks.
    Hello there, simply turned into aware of your blog through Google, and found that it is really informative. I am going to watch out for brussels. I will appreciate if you happen to continue this in future. Lots of other people will likely be benefited out of your writing. Cheers!
    Here is my site ; Aau Basketball Utah

    Trả lờiXóa
  5. Hurrah! After all I got a weblog from where I be able to truly take
    helpful facts concerning my study and knowledge.
    Also see my website > facebook ipo

    Trả lờiXóa
  6. Keep on working, great job!
    Here is my web page - facebook emoticons

    Trả lờiXóa
  7. Hi, I do believe this is an excellent website. I stumbledupon it
    ;) I may return once again since I book-marked it.
    Money and freedom is the best way to change, may you be rich and continue
    to help others.
    Feel free to visit my page :: http://Www.times.pl/

    Trả lờiXóa
  8. Howdy! I realize this is kind of off-topic however I needed to ask.
    Does managing a well-established blog such as yours take a lot of
    work? I'm completely new to operating a blog however I do write in my journal every day. I'd like to start a blog so I can easily share my own experience and thoughts online.
    Please let me know if you have any ideas or tips for new aspiring bloggers.
    Thankyou!

    My site augmenter ses Vue youtube

    Trả lờiXóa
  9. Sweet blog! I found it while browsing on Yahoo News. Do you have any tips on how to get listed in Yahoo News?
    I've been trying for a while but I never seem to get there! Many thanks

    Feel free to surf to my site ... Achat Retweet pas cher

    Trả lờiXóa
  10. Pretty section of content. I simply stumbled upon your web site and in accession capital to
    claim that I acquire actually loved account your weblog posts.
    Anyway I'll be subscribing on your augment or even I fulfillment you access consistently fast.

    my web-site; plus de vues sur youtube

    Trả lờiXóa

Cám ơn bạn đã đóng góp cùng conetvn!