0




Pada Awal tahun 2015 Facebook.com resmi memperkenalkan Page Like Facebook v2.3 sebagaimana yang tertera pada keterangan di halaman developer Facebook Like Box.

Like Box

With the release of Graph API v2.3, the Like Box plugin is deprecated and will stop working on June 23rd 2015. Use the new Page Plugin instead. The Page Plugin allows you to embed a simple feed of content from a Page into your websites.

The Like Box is a special version of the Like Button designed only for Facebook Pages. It allows admins to promote their Pages and embed a simple feed of content from a Page into other sites. 
 Oleh karena itu saya akan membagikan cara atau tutorial untuk membuat kolom Like Box Facebook v2.3 pada blog. Oke langsung saja simak tutorial berikut :

1. Masuk ke blogger > Template > Edit HTML. tempatkan kode dibawah ini diatas </body>

 <script>
window.fbAsyncInit = function() {
FB.init({
appId      : 'your-app-id',
xfbml      : true,
version    : 'v2.3'
});
};

(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/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>

Ket : pada 'your-app-id' ganti dengan app id facebook sobat yang ada pada kolom get kode 1. Include the JavaScript SDK on your page once, ideally right after the...

2. Kunjungi https://developers.facebook.com/docs/plugins/page-plugin untuk mendapatkan kode.
Copy kode yang saya tandai. lihat screenshot di bawah...


3. Setelah didapatkan kode nya, tinggal menambahkannya pada blog sobat. Yaitu, pergi ke Layout -> Add Gadget -> HTML/Javascript.


4. Paste kode yang sobat dapatkan tadi di kotak widget, seperti ini :


5. Save dan selesai...

Nah itulah tutorial Cara Menambahkan Page Like Facebook v2.3 Pada Blog sangat mudah bukan. Semoga tutorial kali ini bermanfaat.

Post a Comment Disqus

 
Top