我无法从群组墙上读取内容

发布于 2024-12-11 14:59:10 字数 697 浏览 0 评论 0原文

我可以阅读用户的提要或帖子,

https://developers.facebook.com/tools/explorer?method=GET&path=me%2Fposts

但当我尝试访问群组提要或帖子时,却无法阅读。我添加了 auth 部分,但它返回空 JSON。在我尝试过的组中,有一个是封闭组,另外两个是开放组。

https://graph.facebook.com/228955270470492 

上面的内容返回:

{
  "id": "228955270470492",
   ...
  "name": "ADI BİLİM",
  "privacy": "OPEN",
  ...
}

请求此提要

https://graph.facebook.com/228955270470492/feed?access_token=AAACEdEose0cBAACgceqTZCBg0YA7MifDP02MKVXpZCipHJNHmHqK5OTzDvJaNke2JDxhOxKOTFl6bPOoZCZAdUZAQFFV6lD8GCMTxQHigUQZDZD

结果为空:

{
  "data": [
  ]
}

我做错了什么?

I can read users feeds or posts

https://developers.facebook.com/tools/explorer?method=GET&path=me%2Fposts

but when I try to reach a groups feed or posts, I can't. I added auth part but it returns empty JSON. From the groups I tried, one was closed and 2 other are open groups.

https://graph.facebook.com/228955270470492 

The above returns this:

{
  "id": "228955270470492",
   ...
  "name": "ADI BİLİM",
  "privacy": "OPEN",
  ...
}

Requesting this feed

https://graph.facebook.com/228955270470492/feed?access_token=AAACEdEose0cBAACgceqTZCBg0YA7MifDP02MKVXpZCipHJNHmHqK5OTzDvJaNke2JDxhOxKOTFl6bPOoZCZAdUZAQFFV6lD8GCMTxQHigUQZDZD

results in empty:

{
  "data": [
  ]
}

What I am doing wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

秋心╮凉 2024-12-18 14:59:10

这对我来说工作正常,您的访问令牌是该组成员的用户的吗?

如果没有,该组需要具有可见性OPEN。您可能还需要用户的 user_groups 权限,但我猜如果您正在访问用户的组列表,您已经拥有该权限

This is working fine for me, is your access token for a user who's a member of the group?

If not, the group needs to have visiblity OPEN. You may also need user_groups permission for the user, but I'm guessing you already have that if you're accessing the user's list of groups

青瓷清茶倾城歌 2024-12-18 14:59:10

即使这个组是公共的,我也需要通过扩展权限对应用程序“read_stream”进行身份验证。现在我可以看到提要了:)

Even this group is public I need to auth app "read_stream" from extended permissions. Now I can see feeds :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文