$.getScript('//connect.facebook.net/en_UK/all.js', function () {
FB.api(
"/1546036342324515/comments/",
"POST",
{
'source': canvas,
},
function (response) {
if (response && !response.error) {
console.log("posted");
}
else{
console.log(response);
}
}
);
});
i want to post html5 canvas to comment's facebook via javascript sdk. but my code is not work. do you have solutions?
Aucun commentaire:
Enregistrer un commentaire