0
有沒有辦法發佈自己的網頁上沒有通過xxxx這個詞? 加上後沒有顯示在網頁上..Facebook - 缺少帖子
我發現饋通 HTTPS://graph.facebook.com/app_id/feed?access_token
,並通過將後查看ID爲 http://developers.facebook.com/tools/explorer/
從那裏只發現出任http://www.facebook.com/195116460556019/posts/261775633890101
我一直在使用的代碼都是從一個我能找到的..雖然他們大多看上去都差不多.. 範圍「範圍=讀_stream,publish_stream,manage_pages「
<script>
//API init code is omitted
var wallPost = {
access_token: "token",
message: 'Hello, world!'
};
FB.api('/app_id/posts', 'post', wallPost, function(response) {
if (!response || response.error) {
alert('Error occurred');
console.log(response.error);
} else {
alert('Success!');
}
});
// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));
</script>
我明白了......感謝您的快速響應。但我仍不明白爲什麼Feed不會出現在頁面上。= / – CodingBabyDotCom