Facebook图形API无法检索非朋友个人资料的状态(无共同的朋友) [英] Facebook graph API cannot retrieve data such as statuses of a non-friend profile (no mutual friends)
问题描述
第一次在stackoverflow。想知道我正在标题中提到的这个问题,我的应用程序无法通过API检索任何与任何无关的配置文件的任何数据(没有共同的朋友)。由于隐私设置或权限,这是一个已知的事情吗?
first time on stackoverflow. Was wondering about this problem I am having as mentioned in the title, my application cannot retrieve any data via the API for any profiles that are non-related in anyway (no mutual friends either). Is this a known thing due to privacy settings or permissions?
谢谢!
推荐答案
这是你必须知道的规则,例如100007110730790是非朋友ID:
This is the rules you have to know, for example 100007110730790 is a non-friend id:
规则1 。如果用户将平台关闭:
Facebook API wouldn't work at all:
规则2。如果平台是 ON ,并且用户100007110730790不提供 user_status <强制>您的应用程式的权限,您可以通过标记您的资料取得资讯:
Rule 2. If the platform is ON and user 100007110730790 does not provide user_status permission for your app, you can get the feed with have tagged with you:
更新:
如果您正在使用您的应用程式(而不是图形API资源管理器预设应用程式,这个应用程式不会包含活动资讯提供!),您也可以取得公开活动资讯提供nguage,所以,即使他/她根本不使用该应用程序!):
更新10 jan 2014: strong>
Update 10 jan 2014:
此规则中包含shared_story。
规则3。如果平台是 ON ,并且用户100007110730790确实为您的应用提供 user_status 权限,则即使不是朋友也可以获得状态Feed:
Rule 3. If the platform is ON and user 100007110730790 does provide user_status permission for your app, you can get the status feed even though non-friend!:
< img src =https://i.stack.imgur.com/8BZJy.pngalt =enter image description here>
并使用FQL :
所以,对于相册/照片是相同的,非朋友需要授予相同APP的 user_photos 权限。
So, for albums/photos is the same, the non friend need to grant user_photos permission to the same APP.
这篇关于Facebook图形API无法检索非朋友个人资料的状态(无共同的朋友)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!