我的目的是从用户Feed获取最新帖子,但是当朋友在时间轴上发布墙贴时,下面的行不会带来预期的结果,但是当用户自己发布时,效果很好< / p>
me/feed?fields=from,id,message&limit=1
上述行中的所有字段都返回值,但消息字段除外。它在我的其他Facebook帐户中运行良好,但在另一个帐户中不起作用。
{
"data": [
{
"from": {
"name": "Ted Mad",
"id": "100000145467923"
},
"id": "1841029522785868_1841280962760724"
}
],
"paging": {
"previous": "https://graph.facebook.com/v2.8/1841029522785868/feed?fields=from,id,message&limit=1&format=json&since=1483606096&access_token=EAACEdEose0cBALrWazFWFoRt9VNGZCknu1MDAkUU1jFZBtdPv8rl3F7frMYHtw7Jeslr8uN8XT7un2lXx3U7AtdZCDu8rBz0ZBppxEXYZC3gv61D3Sa8N86SugoPmY0Rg4aJaZCyJQswQVRxiXUBcZAawTHXMsyvp8uGpc0J1HVcExzQ4509OUxzgbWJ2vVyMMZD&__paging_token=enc_AdAqFkXrZAVv9E0mFWSLfmXZCbmAaYl9qCH33z4aZCOxo2xlVYtIcKGIfLDAivHJANP4DkU06kDEPr6TCN8g4kawFjRt3gaxEZApj0sJb7ioEkO3lAZDZD&__previous=1",
"next": "https://graph.facebook.com/v2.8/1841029522785868/feed fields=from,id,message&limit=1&format=json&access_token=EAACEdEose0cBALrWazFWFoRt9VNGZCknu1MDAkUU1jFZBtdPv8rl3F7frMYHtw7Jeslr8uN8XT7un2lXx3U7AtdZCDu8rBz0ZBppxEXYZC3gv61D3Sa8N86SugoPmY0Rg4aJaZCyJQswQVRxiXUBcZAawTHXMsyvp8uGpc0J1HVcExzQ4509OUxzgbWJ2vVyMMZD&until=1483606096&__paging_token=enc_AdAqFkXrZAVv9E0mFWSLfmXZCbmAaYl9qCH33z4aZCOxo2xlVYtIcKGIfLDAivHJANP4DkU06kDEPr6TCN8g4kawFjRt3gaxEZApj0sJb7ioEkO3lAZDZD"
}
}