i'm new to iPhone programming and Facebook sdk. I would like to collect everything that my friends post (all statuses, changes, profile updates etc) and show it in my app. Is that possible?
So far, i found a way to collect only 25 latest public posts by the following code:
[FBSession openActiveSessionWithReadPermissions:
@[
@"public_profile,
user_friends",
@"read_stream"
]
allowLoginUI:YES
completionHandler:
^(FBSession *session,
FBSessionState state,
NSError *error) { ... }
];
FBRequest *request = [FBRequest requestForGraphPath:@"me/home"];
Any help is appreciated, thanks in advance
With Graph API v2.0, all friends permissions have been removed, meaning that you no longer can access the friend's data programatically.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.