CSS

Thursday, January 5, 2012

Nyoba ngBongkar plugins Facebook Comments

Facebook's Comments Box Tags
XFBML Tag
<fb:comments href=""></fb:comments>
Blogger Template Tag
<fb:comments expr:href='data:post.url'></fb:comments>
Blogger HTML/JavaScript Widget
<script type="text/javascript">
document.write('<fb:comments href="'+window.location.href.split('?')[0].split('#')[0]+'"></fb:comments>')
</script>

Facebook's Comments Box Attributes
Example:
<fb:comments href="" width="400" num_posts="3" colorscheme="dark"></fb:comments>
href
URL halaman site or blog
migrated=1
upgrade dari versi dulu
(Note: if you are upgrading, you should not specify the href parameter.)
width
lebar comments box in pixel Minimum recommended width: 400px
num_posts
maximum limit komentar yang ditampilkan Default: 10
colorscheme
theme warna yang dipake dark atau light

Administer Meta Tags (apa itu meta tag?)
Personal/By Ids
<meta property="fb:admins" content="userID,userID,userID,.."/>
All administrators of the App
<meta property="fb:app_id" content="applicationID"/>
Comment Moderation Tool: http://developers.facebook.com/tools/comments

Access the number of comments
Example:
<fb:comments-count href=""></fb:comments-count> awesome comments

Comment PopUp Link
Example:
<a href="http://www.facebook.com/plugins/comments.php?href=" onClick="javascript:window.open(this.href, 'bloggerPopup', 'toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=500,height=650'); return false;">Comment with facebook</a>
Blogger Template Tag
<a expr:href='"http://www.facebook.com/plugins/comments.php?href=" + data:post.url' onClick='javascript:window.open(this.href, "bloggerPopup", "toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=500,height=650"); return false;'>Comment with facebook</a>
Blogger HTML/JavaScript Widget
<script type="text/javascript">
document.write('<a href="http://www.facebook.com/plugins/comments.php?href='+window.location.href.split('?')[0].split('#')[0]+'" onClick="javascript:window.open(this.href, \'bloggerPopup\', \'toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=500,height=650\'); return false;">Comment with facebook</a>')
</script>

Comment permalink

Access comments via the graph API
Loading..

7 comments:

Oh Yeah said...

http://aing-creations.blogspot.com/2011/01/gimana-cara-masangnya-wkwkkk-lupa-p.html

Aink- said...

Peringatan: exsample.blogspot.com/ tidak dapat dihubungi.

↑↑↑ bijil Kieu aya kurang teu ??

Saha ue ahh moal beja-beja pokona mah ^_^ said...

hallo .. tiasa bicara sareng nut nut nut ???

tah abdi ge leungit hiji akun gagara eror kitu teh

Absen juragan :D

ijin nyimak we didieu mah juragan - juragan

karak ge crot bieu melalui Aing Creations

Aink- said...

Nomber yang anda tuju sedang Mesum cobalah beberapa tahun deui ...

Tapi di Debugger Objek mah urlna masih aya teu di balok....


/\
[] Luhureun uink budak Goreng wkwkwk kaboooorrr.........

Bayu Octhavian said...

kalo mau posting semua kelihatan gimna ??

Ksatria Purnama Ananda Langit or just call me Tya said...

num_posts nya aja gedein..
<fb:comments href="http://aing-creations.blogspot.com/" width="400" num_posts="300" colorscheme="dark"></fb:comments>

Φğΐ ¢яΦ¢ΦđΐĻę said...

lieur aing ah...asa gmpngan kneh coli wkwkwkwkwk