Nishi Gaba Nishi Gaba - 1 month ago 10
Javascript Question

How to setup the Facebook SDK for meteor js website?

I want to add Facebook features (create page, share post, upload images) to my website made in meteorjs . I am using facebook SDK but it doesn't works for me. Is there another alternative to do this ?

Client Side Js

window.fbAsyncInit = function() {
FB.init({
appId: 'xxxxx',
status: true,
xfbml: true,
version: 'v2.5'
});
};
FB.ui({
method: 'feed'
});

Answer

Here is the full description of Facebook Javascript SDK code ->

Facebook_JS_SDK

Comments