![](/img/trans.png)
[英]send emails to facebook friends from an iPhone Application using the GRAPH API
[英]Facebook graph api to send app request to friends from iPhone app
我需要在我的Facebook个人资料中向朋友发送应用程序请求。 因此,有人可以建议我使用图谱api来实现此目的吗,我更喜欢图谱,因为我一直在使用图谱api来完成所有其他任务。 提前致谢。
试试这个,您会在Facebook中找到所有好友列表。
-(IBAction)getMeFriendsButtonPressed:(id)sender {
FbGraphResponse *fb_graph_response = [fbGraph doGraphGet:@"me/friends" withGetVars:nil];
NSLog(@"getMeFriendsButtonPressed: %@", fb_graph_response.htmlResponse);
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.