graph.facebook feed返回一个空数组 [英] graph.facebook feed returning an empty array

查看:73
本文介绍了graph.facebook feed返回一个空数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先谢谢了.

有人可以帮我理解为什么Facebook feed会返回一个空数组

Can someone help me understand why the facebook feed is returning an empty array

https://graph.facebook.com/578431340/feed?access_token = 748441095227914%7CTvThGP9sRaRPZfUbSIT6kABgygyM& limit = 20

{
  "data": [

   ]
}

推荐答案

您需要带有read_stream的用户访问令牌才能发布用户帖子.此外,查询的用户需要向该应用授予read_stream权限.

You need a user access token with read_stream for user posts. Additionally the queried user needs to grant the app the read_stream permission.

您当前正在使用应用程序令牌.

You are currently using an application token.

https://developers.facebook.com/docs/graph-api/reference/v2.2/user/feed

这篇关于graph.facebook feed返回一个空数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆