gpt4 book ai didi

ios - 如何使用 iOS Facebook SDK 获取所有 Facebook 好友列表

转载 作者:行者123 更新时间:2023-11-29 12:40:48 25 4
gpt4 key购买 nike

这是我的代码:

FBRequest *request = [FBRequest requestForMyFriends];
[request startWithCompletionHandler:^(FBRequestConnection *connection, id result, NSError *error) {

}];

这是响应,数据中只有一个FBUser,但有pagingField,我该如何获取下一页?

{
data = (
{
"first_name" = Joe;
id = 1410250212552901;
"last_name" = Sadanwitz;
name = "Joe Amgjchjgcigg Sadanwitz";
}
);
paging = {
next = "https://graph.facebook.com/v2.0/1410250212552901/friends?fields=id,name,first_name,last_name&format=json&access_token=CAAEY8AAUoPcBAExJCteA2ZBZBcqeQnkDBLBhQy2T1ghNofZAU5wT0KinVAXyjeDBOlzrRl3ZBCTAbmyHqrjU4f6JKJrBZCSECZBvvLcoDUJshY5NnZCxZBHkZBCKgWUzVyJAZAQUGoaEffcjokL28wN0Xpn8FuNs5drHpe2BTrCJsCMHpU7x85N2V86qVT1Pnx85xC1ffhoG6tRvzpTBdz9vi1shb5SUeqtlinAofI7lU52AZDZD&limit=5000&offset=5000&__after_id=enc_AexOP9huSQ39Ccrt9AIumeBtqGnFH8RnliwvpPwisb4b9dH46LFTaVWVp1c-lYoncilrxvDQ2XFY7KK7o642UiF_";
};
summary = {
"total_count" = 9;
};
}

最佳答案

没办法。

App Friends: The /me/friends endpoint no longer includes the full list of a person's friends. Instead, it now returns the list of that person's friends who are also using your app.

(https://developers.facebook.com/docs/apps/changelog/)。

关于ios - 如何使用 iOS Facebook SDK 获取所有 Facebook 好友列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25011475/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com