简体   繁体   English

Graph API-meaww和nametests如何在没有taggable_friends的情况下获取我的朋友列表?

[英]Graph API - how meaww and nametests get my friends list without taggable_friends?

I've recently applied for taggable_friends permission and it was denied. 我最近申请了taggable_friends许可,但被拒绝了。 I understand that this permission is only for tagging user's friends and if I want to get the user's friends who also use my app, I have to use user_friends. 我了解此权限仅用于标记用户的朋友,如果我想获得也使用我的应用程序的用户的朋友,则必须使用user_friends。

But I am confused here because, I've recently discovered that a lot of personality test websites can get my friends who doesn't even use ( or used in the past) those apps (ie meaww.com/activities/question/batman_twin_yours/2355). 但是我在这里感到困惑,因为我最近发现很多人格测试网站可以吸引甚至没有使用(或过去使用过)那些应用程序的朋友(例如,meaww.com / activities / question / batman_twin_yours / 2355)。 And the core intention of these personality testing websites are not tagging, just sharing the result in the user's timeline. 这些个性测试网站的核心意图不是标记,只是在用户的时间轴上共享结果。

I believe the apps of the above mentioned websites, do not have the taggable_friends permission (since they do not ask users to tag anyone) or is of version 1.0. 我认为上述网站的应用程序没有taggable_friends权限(因为它们不要求用户标记任何人)或版本1.0。

Is it at all possible that anyone can suggest me how I can get a user's friends' profile pictures and names like those websites? 有没有人可以向我建议我如何获得用户朋友的个人资料图片和类似这些网站的名称?

As @CBroe says: You can't. 正如@CBroe所说:不能。

I am currently building 'funny' ('bullshit' or 'humoristic' are maybe better terms to describe them) - tests/quizzes and I am trying a workaround: 我目前正在构建“有趣”(“ bullshit”或“ humoristic”也许是描述它们的更好术语)-测试/测验,并且我正在尝试解决方法:

get a list of the users' (endpoint: /me) -profilepictures. 获取用户(端点:/ me)-profilepictures的列表。 (Requires 'user_photos' permission) (需要“ user_photos”权限)

$response = $fb->get('/me/photos?type=uploaded&fields=id,picture.width(800).height(800),link', $accessToken);

Than scan for likes on those pictures. 比在这些图片上扫描喜欢的对象。

$response = $fb->get('/'. $tmpId .'/likes', $accessToken);

In the likes are id's and names of users. 诸如ID和用户名之类的。 It's not a complete friends_list - but if you are like me, OK with just 'some' friends to display something 'useful'... 它不是完整的friends_list-但如果您像我一样,可以与“一些”朋友一起显示“有用” ...

(With the user_id you get the public profile pic) (通过user_id,您可以获得公共资料图片)

Hope I could help! 希望我能帮上忙!

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

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