开发者

Retrieve check-ins of my friends from facebook api

Is there any way to retrieve the check in of my friends using the api for facebook? I am going to develop an iphone app and I nee开发者_如何学编程d latitude and longitude.


Yes this is pretty easy to implement with Facebook. Check out the Checkin api documentation which which will give you the places the user and their friends have checked into, including latitude and longitude. You just need to prompt the user for user_checkins permission. This can also be queried using their FQL language, look at the checkin table. The latest Facebook iOS SDK & sample will help you get started making Graph API's quickly.


Hii,

yes, you can retrieve checkins of your friends

-(void)getRecentCheckins {

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                   @"checkin",@"type",nil];



[facebook requestWithGraphPath:@"search" andParams: params andDelegate:self];

 }

this will give a list of recent checkins made by your friends at request didload method.

Hope this Helps - for guidance use this Link:

http://tylerwhitedesign.com/how-to-check-in-using-the-facebook-ios-sdk-and-graph-api

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜