我正在使用Feed Dialog从我网站的微型应用程序创建一个帖子到用户的Facebook墙/ Feed上。但是,每当我从我的网站发帖时,帖子都会显示在我的墙上,但从不在新闻Feed中。我检查过&与朋友和我自己的帐户确认。这些帖子虽然在我的墙上可见但根本没有出现在新闻Feed中。这些朋友中没有一个被阻止或阻止了我的帖子,我已经通过他们亲自到那里设置确认,其中一些朋友实际上是家庭,可以完全访问我的所有个人资料元素。无论出于何种原因,帖子都没有出现。我搜索谷歌,发现只有两个问题完全匹配我没有答案。我知道的评论是关闭的,它们只适合我,我理解它们,我的网站的网址和应用程序代码已删除。
帖子有效,但它们从未出现在Feed中。谁能解释一下,我做错了什么?
谢谢:D
<div id='fb-root'></div>
<script src='http://connect.facebook.net/en_US /all.js'></script>
<!--<p><a onclick='postToFeed(); return false;'>Post to Feed</a></p>-->
<p id='msg'></p>
<!-- REQUIRED -->
<script>FB.init({appId: "SECRET", status: true, cookie: true, xfbml: true});
//This is the functional trigger for Feed Dialogue using FB.ui
function postToFeed() {
// vars pull the data from the form based on the id's of each input element
var linkStr = document.getElementById('link').value;
var nameStr = document.getElementById('mname').value;
var descStr1 = document.getElementById('hr').value;
var descStr2 = document.getElementById('life').value;
var descStr3 = document.getElementById('party').value;
var descStr4 = document.getElementById('weap').value;
var descStr5 = document.getElementById('click').value;
var descStr6 = document.getElementById('ttier').value;
var descStr7 = document.getElementById('mn').value;
// Determine if the monster is critical based on the hours variable
if (descStr1 < "25") {
var critStr = "CRITICAL"
var pic = "(my site URL"
}
else {
var critStr = ""
var pic = "(mysite URL)"
}
// Build the post using variable data pulled from form
var obj = {
method: 'feed',
link: linkStr,
picture: pic,
name: nameStr + ' ' + critStr,
description: 'Time Left:' + descStr1 + ':' + descStr7 + 'Hrs | Top Tier Full?: ' + descStr6 + ' | Life Left:' + descStr2 + '% | Party/Defence:' + descStr3 + '% | # of Weapons Launched: ' + descStr4 + ' | Clicks for next: ' + descStr5
};
// Check if posted
function callback(response) {
document.getElementById('msg').innerHTML = "Post ID: " + response['post_id'];
}
FB.ui(obj, callback);
}
</script>