[英]facebook graph api post to page
I have a page in facebook as well as an app for it. 我在facebook上有一个页面以及一个应用程序。 I have generated a never expire token for the page , and tried to post to the page using the graph api POST /me/feed
我已经为该页面生成了永不过期令牌,并尝试使用图形api POST / me / feed将其发布到该页面
However, the messages i posted only appears if i query /me/feed in the graph api but not on the page wall. 但是,仅当我在图形api中查询/ me / feed而不在页面墙上查询时,才会显示我发布的消息。 Why is this happening?
为什么会这样呢?
result for /me/feed / me / feed的结果
{
"id": "**********",
"from": {
"category": "Education",
"name": "**************",
"id": "**************"
},
"message": "ok",
"actions": [
{
"name": "Comment",
"link": "https://www.facebook.com/**********"
},
{
"name": "Like",
"link": "https://www.facebook.com/************"
}
],
"privacy": {
"description": "Public",
"value": "EVERYONE",
"friends": "",
"networks": "",
"allow": "",
"deny": ""
},
"type": "status",
"status_type": "mobile_status_update",
"application": {
"name": **********",
"id": "************"
},
"created_time": "2015-02-01T05:26:29+0000",
"updated_time": "2015-02-01T05:26:29+0000"
},
{
"id": "825588500832993_846332195425290",
"from": {
"category": "Education",
"name": "************",
"id": "825588500832993"
},
"message": "asd",
"actions": [
{
"name": "Comment",
"link": "https://www.facebook.com/*************"
},
{
"name": "Like",
"link": "https://www.facebook.com/**************"
}
],
"privacy": {
"description": "Public",
"value": "EVERYONE",
"friends": "",
"networks": "",
"allow": "",
"deny": ""
},
"type": "status",
"status_type": "mobile_status_update",
"application": {
"name": "**********",
"id": "**************"
},
"created_time": "2015-02-01T05:22:02+0000",
"updated_time": "2015-02-01T05:22:02+0000"
},
对于遇到相同问题的任何人,请转到developers.facebook.com->您的应用->设置->填写电子邮件,然后转到状态和查看->将关闭按钮打开以使其生效
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.