Facebook Graph API朋友生日 [英] Facebook Graph API friends birthdays
本文介绍了Facebook Graph API朋友生日的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我搜索了很多,我没有成功获得朋友的生日
I searched a lot, I didn't succeeded in getting the friends birthday
[facebook requestWithGraphPath:@"me" andDelegate:self];
我应该写什么而不是让朋友生日。
谢谢
what should I write instead of me to get the friends birthdays. thanks
推荐答案
我发现了一个答案&它如下所示:
I found an answer & it is as follows:
NSMutableDictionary * params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"select uid,name,birthday_date from user where uid in (select uid2 from friend where uid1=me())", @"query",
nil];
[[StaticFacebook getFacebook] requestWithMethodName: @"fql.query"
andParams: params
andHttpMethod: @"POST"
andDelegate: self];
这篇关于Facebook Graph API朋友生日的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文