Thêm facebook plugins vào website của bạn 

15-12-2010 23:50

Thêm Facebook Comments

Bạn thích sử dụng facebook để bình luận hình ảnh, trạng thái của bạn bè và muốn website của mình cho phép bạn bè sử dụng tài khoản facebook để comment bài viết. Bạn có thể vào địa chỉ http://developers.facebook.com/docs/reference/plugins/comments để Get Code hoặc sử dụng:

<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js#appId=APP_ID&amp;xfbml=1"></script>
<fb:comments xid="<%=Post.Id %>" numposts="10" width="425" publish_feed="true"></fb:comments>

Để có APP_ID bạn vào http://www.facebook.com/developers/apps.php tạo một apps mới

Create Facebook App

Điền địa chỉ website của bạn vào Site URL

Thay APP_ID trong đoạn code trên bằng Application ID (ở ví dụ này là 130594457001962)

<%=Post.Id %> dùng để phân biệt các bài viết khác nhau. Nếu bạn sử dụng chung một id cho website thì các comment sẽ hiện giống nhau ở tất cả các trang. Ở đây mình sử dụng id của từng bài viết để phân biệt comment cho bài viết này với comment cho bài viết khác.

Thêm Facebook Like Box

1. Tạo một facebook page http://www.facebook.com/pages/create.php

2. Vào địa chỉ http://developers.facebook.com/docs/reference/plugins/like-box

3. Chỉnh sửa thông số cho phù hợp với website của bạn

4. Get Code

Facebook Like Box Get Code

5. Chèn đoạn code vừa nhận được vào website của bạn.

Chúc bạn vui vẻ :)

Bình luận

16/04/2011 5:45:04 CH #

Du học

Đây chính xác là điều mình đang tìm kiếm, hy vọng nó sẽ giúp tăng lượng view cho trang mình, nhưng vẫn không làm cho người dùng face cảm thấy khó chịu hay bị mất quyền riêng tư. Thanks Smile

Du học United Kingdom | Reply

12/06/2011 1:40:16 CH #

sikiş

thank you...

sikiş United States | Reply

01/07/2011 1:35:48 SA #

Adam and Eve Coupon

Excellent post I must say.. Simple but yet interesting and engaging.. Keep up the awesome work!

Adam and Eve Coupon United States | Reply

01/07/2011 9:15:11 CH #

hoog in google

This is an excellent post about facebook plugins. I read using the Google translate feature. Keep it up. Cheers.

hoog in google United States | Reply

04/07/2011 3:41:56 SA #

Cynthia J

Nice work.  You should update it because this is a little old.

Cynthia J United States | Reply

07/07/2011 9:38:43 CH #

wholesale sunglasses

Even I think that this is an excellent post about facebook plugins. Thanks for sharing and keep up the good work.

wholesale sunglasses United States | Reply

31/08/2012 11:24:09 SA #

game than bai

great thank for share

game than bai Vietnam | Reply

11/10/2012 8:08:45 CH #

Amazon.com: R9 Full Strength Raspberry Ketones: Health & Personal Care

Your blog is fine.  I just want to comment on the design.  Its too loud.  Its doing way too much and it takes away from what youve got to say --which I think is really important.  I dont know if you didnt think that your words could hold everyones attention, but you were wrong.  

Amazon.com: R9 Full Strength Raspberry Ketones: Health & Personal Care | Reply

13/10/2012 8:39:33 CH #

wordpress workshops

Fantastic blog!  I dont think Ive seen all the angles of this subject the way youve pointed them out.  Youre a true star, a rock star man.  Youve got so much to say and know so much about the subject that I think you should just teach a class about it...HaHa!

wordpress workshops | Reply

10/06/2014 12:29:08 CH #

Homegrown Hydroponics

It's awesome to go to see this website and reading the views of all mates about this article, while I am also eager of getting knowledge.

Also visit my blog  Homegrown Hydroponics - www.fizzlive.com/member/971456/blog/view/2540825

Homegrown Hydroponics United States | Reply

11/06/2014 1:09:09 SA #

Lodge inside Bangkok Critical

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 appearance. I must say you've done a awesome job with this. In addition, the blog loads very quick for me on Firefox. Exceptional Blog!

Feel free to surf to my homepage ::  Lodge inside Bangkok Critical - www.hotel-discount.com/destination-spa-resort/

Lodge inside Bangkok Critical United States | Reply

12/06/2014 1:28:56 CH #

how to earn money fast

Great delivery. Sound arguments. Keep up the good spirit.

My page;  how to earn money fast - http://tiffinpiu.wordpress.com/

how to earn money fast United States | Reply

13/06/2014 8:41:08 CH #

how to earn real money online

It's a pity you don't have a donate button! I'd without a doubt donate to this superb blog! I suppose for now i'll settle for book-marking and adding your RSS feed to my Google account. I look forward to fresh updates and will talk about this blog with my Facebook group. Chat soon!

Here is my blog post;  how to earn real money online - http://www.lubeyourtube.com/user/RRittenho/blog

how to earn real money online United States | Reply

15/06/2014 8:47:23 CH #

new balance baratas

I know this if off topic but I'm looking into starting my own weblog and was wondering what all is required to get setup? I'm assuming having a blog like yours would cost a pretty penny? I'm not very internet savvy so I'm not 100% positive. Any suggestions or advice would be greatly appreciated. Cheers

Feel free to visit my homepage;  new balance baratas - www.fundipe.es/...-new-balance-baratas-online.html

new balance baratas United States | Reply

15/06/2014 9:35:08 CH #

new balance online españa

Appreciating the time and energy you put into your website and detailed information you present. It's good to come across a blog every once in a while that isn't the same outdated rehashed information. Wonderful read! I've saved your site and I'm including your RSS feeds to my Google account.

Take a look at my page:  new balance online españa - www.guejarsierra.es/.../...ew-Balance-Baratas.html

new balance online españa United States | Reply

16/06/2014 1:34:30 SA #

new balance

Thanks in favor of sharing such a fastidious thinking, paragraph is nice, thats why i have read it entirely

my webpage;  new balance - www.fundipe.es/new-balance-madrid-store.html

new balance United States | Reply

17/10/2014 8:48:44 CH #

botas ugg baratas online

I always emailed this webpage post page to all my contacts, for the reason that if like to read it after that my links will too.

my web blog;  botas ugg baratas online - www.cupcakesbarcelona.com/.../...-ugg-baratas.html

botas ugg baratas online United States | Reply

18/10/2014 2:21:49 SA #

cyclocross Reviews uk

Great blog right here! Also your web site quite a bit up very fast! What web host are you the use of? Can I get your affiliate link in your host? I wish my web site loaded up as quickly as yours lol

Stop by my weblog ...  cyclocross Reviews uk - Feemily.Techratna.com/.../

cyclocross Reviews uk United States | Reply

18/10/2014 1:28:49 CH #

Cyclocross Bike Reviews 2012 Uk

Yes! Finally someone writes about online bike store.

My page:  Cyclocross Bike Reviews 2012 Uk - http://Slimcereal.biz/blogs/post/14506

Cyclocross Bike Reviews 2012 Uk United States | Reply

18/10/2014 2:22:14 CH #

ugg boots

What's up, this weekend is good for me, for the reason that this point in time i am reading this enormous educational post here at my residence.

my homepage;  ugg boots - http://ieslaalbuera.org/datos/ugg-botas.html

ugg boots United States | Reply

18/10/2014 2:29:38 CH #

botas ugg españa

Hello very nice website!! Guy .. Excellent .. Wonderful .. I will bookmark your web site and take the feeds also? I am satisfied to find so many useful information right here within the put up, we need work out more strategies in this regard, thank you for sharing. . . . . .

Here is my blog post ::  botas ugg españa - www.martue.com/phpmailer/es/botas-ugg-online.html

botas ugg españa United States | Reply

18/10/2014 3:08:49 CH #

botas ugg baratas

Thanks for your personal marvelous posting! I genuinely enjoyed reading it, you may be a great author. I will make sure to bookmark your blog and will often come back later on. I want to encourage  continue your great writing, have a nice afternoon!

Also visit my web blog -  botas ugg baratas - http://www.apansce.org/quisom/ugg-australia.html

botas ugg baratas United States | Reply

18/10/2014 9:10:28 CH #

ugg baratas online

Good article. I definitely love this website. Thanks!

Feel free to surf to my web site ::  ugg baratas online - www.edicionesidampa.com/.../...tralia-baratas.html

ugg baratas online United States | Reply

18/10/2014 10:28:28 CH #

botas ugg baratas online

You are so awesome! I do not suppose I've read through a single thing like this before. So nice to discover another person with unique thoughts on this subject. Seriously.. thanks for starting this up. This site is something that is needed on the web, someone with some originality!

Feel free to visit my weblog ...  botas ugg baratas online - www.apansce.org/quisom/comprar-ugg-baratas.html

botas ugg baratas online United States | Reply

19/10/2014 12:30:17 SA #

botas ugg baratas

Paragraph writing is also a fun, if you be acquainted with after that you can write or else it is complex to write.

my site -  botas ugg baratas - ieslaalbuera.org/datos/ugg-australia-outlet.html

botas ugg baratas United States | Reply

19/10/2014 2:29:19 SA #

botas ugg baratas

I've read some good stuff here. Certainly value bookmarking for revisiting. I wonder how so much attempt you place to create any such magnificent informative site.

Feel free to surf to my web site ...  botas ugg baratas - http://www.cupcakesbarcelona.com/es/botas-ugg.html

botas ugg baratas United States | Reply

19/10/2014 4:13:20 SA #

UGG España

Hi, its good post concerning media print, we all be familiar with media is a fantastic source of data.

Also visit my page:  UGG España - http://www.martue.com/phpmailer/es/ugg-sale.html

UGG España United States | Reply

19/10/2014 4:55:03 SA #

botas ugg

Its like you read my mind! You seem to understand a lot about this, like you wrote the guide in it or something. I believe that you simply could do with some % to pressure the message home a little bit, but other than that, this is excellent blog. An excellent read. I'll definitely be back.

my weblog  botas ugg - http://www.mahnmac.com/productos/ugg-online.html

botas ugg United States | Reply

19/10/2014 8:08:48 SA #

botas ugg baratas

Very nice post. I just stumbled upon your blog and wished to say that I've truly enjoyed surfing around your blog posts. After all I'll be subscribing to your feed and I hope you write again soon!

My web blog ::  botas ugg baratas - mahnmac.com/.../botas-ugg-baratas-online.html

botas ugg baratas United States | Reply

19/10/2014 10:26:38 SA #

ugg baratas

Hi there, I enjoy reading through your article. I like to write a little comment to support you.

Look into my site:  ugg baratas - www.edicionesidampa.com/.../...-ugg-australia.html

ugg baratas United States | Reply

21/10/2014 3:59:22 CH #

botas ugg baratas online

Its such as you read my mind! You seem to understand a lot approximately this, like you wrote the ebook in it or something. I feel that you simply could do with some % to force the message house a bit, but instead of that, this is wonderful blog. A great read. I will definitely be back.

My page  botas ugg baratas online - http://www.grupo-core.com/es/uggs-baratas.html

botas ugg baratas online United States | Reply

Thêm bình luận


(Will show your Gravatar icon)

  Country flag

biuquote
  • Bình luận
  • Xem trước
Loading