简体   繁体   English

Facebook,Android-如何从Facebook获得朋友生日

[英]Facebook,Android- How to get friends birthday from facebook

I tried to goto lots of questions on this forum but could not find one useful so i decided to ask one myself. 我试图在这个论坛上问很多问题,但找不到一个有用的问题,所以我决定自己问一个问题。

I want to pull the birthday's of all the friends in the users friend list. 我想在用户朋友列表中拉所有朋友的生日。 After going through a lot of stuff i found there are 2 ways to do that 经过大量的研究之后,我发现有两种方法可以做到这一点

  1. Graph API 图形API
  2. FQL Query FQL查询

So, my questions are 所以,我的问题是

Q1. Q1。 which one of them is better/easy to integrate in the app. 其中哪一个更好/易于集成到应用中。

Q2. Q2。 http://developers.facebook.com/docs/tutorials/androidsdk/3.0/scrumptious/ is this tutorial useful for what i want to do. http://developers.facebook.com/docs/tutorials/androidsdk/3.0/scrumptious/是本教程对我想做的有用。

Q3. Q3。 If i use Graph API/FQL Query , could you please give me a link which is helpful or a Code snippet 如果我使用Graph API/FQL Query ,请给我一个有用的链接或代码段

Thanks In Advance, 提前致谢,

Eriz 埃里茨

You probably want to go for the Graph API as this is usually a more simple approach. 您可能想要使用Graph API,因为这通常是一种更简单的方法。

You can check out this link to see how retrieving a list of friends are completed in API 3.0. 您可以查看此链接,以了解如何在API 3.0中完成对朋友列表的检索。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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