Delete facebook-post.js

This commit is contained in:
Daniel Sommer 2019-01-12 22:28:37 +01:00
parent 64f99e7c25
commit 18d73573aa
1 changed files with 0 additions and 12 deletions

View File

@ -1,12 +0,0 @@
function sendProfilePost() {
var body = document.getElementById("fb-write-post").value;
FB.api('/me/feed', 'post', { message: body },
function (response) {
if (!response || response.error) {
alert('Error occured');
console.log(response.error);
} else {
alert('Post ID: ' + response.id);
}
}, { scope: 'public_profile,email,publish_actions' });
}