简体   繁体   English

Facebook图形API从iPhone应用程序向朋友发送应用程序请求

[英]Facebook graph api to send app request to friends from iPhone app

i require to send app request to friends in my facebook profile. 我需要在我的Facebook个人资料中向朋友发送应用程序请求。 So can any one suggest me graph api available to achieve this, i prefer graph because i have been using the graph api for all other tasks. 因此,有人可以建议我使用图谱api来实现此目的吗,我更喜欢图谱,因为我一直在使用图谱api来完成所有其他任务。 Thanks in advance. 提前致谢。

Try this one you will get all your friends list which is there in your facebook. 试试这个,您会在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.

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