简体   繁体   English

如何通过Facebook Graph API访问私人群组中的照片?

[英]How to access the photos in a private group via the Facebook Graph API?

I'm new to the Facebook Graph API. 我是Facebook Graph API的新手。 I've figured out how to access the feed of a secret group, but the posts with photos uploaded to them don't show the photos. 我已经弄清楚了如何访问秘密小组的供稿,但是上传了照片的帖子并未显示照片。 I requested every permission to make sure it wasn't an OAuth issue. 我要求获得所有许可,以确保这不是OAuth问题。 The post shows up with a type of status . 该帖子显示为一种status I tried connecting it to photos and I always get an empty data array. 我尝试将其连接到photos ,但总是得到一个空的data数组。

I looked at a public group, and the posts with photos show up as a type photo and contain a picture element. 我看着一个公共团体,带有照片的帖子显示为类型photo并包含图片元素。

If I post the picture in the secret group, then I can access it shows up as a photo post. 如果我将图片发布在秘密群组中,则可以访问它,并显示为图片发布。 If I update the picture in the exact same way as another user, then it shows up as 'status' with no picture. 如果我以与其他用户完全相同的方式更新图片,那么它将显示为“状态”而没有图片。 This smells like a bug (since I've requested full permissions for both user and friends). 这闻起来像个错误(因为我已请求用户和朋友的完全权限)。

I'm currently using the web based Graph API Explorer and I tried the beta version too, just to be sure. 为了确定,我目前正在使用基于Web的Graph API Explorer,并且也尝试了beta版。

If there is a different API I need to use to access secret group photos, please let me know! 如果我需要使用其他API来访问秘密集体照,请告诉我!

That's a bug. 那是个错误。 I've already reported it (on November 28 '13) but yet to be resolved. 我已经报告了该问题(13年11月28日),但尚未解决。

I'm not able to change the bug's privacy settings so the bug is visible to me only. 我无法更改该错误的隐私设置,因此该错误仅对我可见。

I'll post here after its resolved. 解决后,我会在这里发布。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM