![](/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.