为什么Facebook在iOS中返回friendlist 0?如何检索fb friendlist并存储解析? [英] Why is facebook returning the friendlist 0 in iOS? How to retrieve fb friendlist and store it to parse?

查看:126
本文介绍了为什么Facebook在iOS中返回friendlist 0?如何检索fb friendlist并存储解析?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请参阅以前关于构建上下文的讨论。 如何检索Facebook friendlist并将其保存为解析? / A>。
正如那个家伙指出,不可能再检索friendlists,我尝试通过使用旧的sdk检索它。这个sdk与我的其他应用程序正常工作。但我仍然无法检索fb friendlist。我也尝试过这个方法,除了上述提到的两个问题之外:

Please see this previous discussion for building the context. How to retrieve Facebook friendlist and save it to parse?. As that guy pointed out it's not possible any longer to retrieve friendlists, I tried retrieving it by using the older sdk. That sdk is working fine with my other app. But i still can't retrieve fb friendlist. I tried this method too, other than the two mentioned in the above stated question:

[FBRequestConnection startForMyFriendsWithCompletionHandler:
                 ^(FBRequestConnection *connection, id<FBGraphUser> friends, NSError *error)
                 {}];

但它还没有bueno。有人可以告诉我有什么问题吗?如何检索fb的朋友列表并将其存储到解析中?

But it's still no bueno. Can someone please tell me what's wrong with it? How can i retrieve the fb friendlist and store it to parse?

推荐答案

小心friendlist和friends两个不同的东西虽然,我很确定你不想得到friendlists,因为那些只是没有那里的朋友的列表。

Careful with "friendlist" and "friends", those are two different things. Although, i am pretty sure you don´t want to get the "friendlists", because those are just the lists without the friends in there.

无论如何,使用一个旧的SDK并不意味着你可以得到所有的朋友,唯一的方法仍然是获得所有的朋友是通过使用在2014年4月底之前创建的应用程序(与任何SDK)。当然,这个解决方案只能在2015年4月底之前有效。

Anyway, using an old SDK does not mean you can get all friends, the only way to still get all friends is by using an App created before end of April 2014 (with any SDK). And that solution only works until end of April 2015, of course.

这篇关于为什么Facebook在iOS中返回friendlist 0?如何检索fb friendlist并存储解析?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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