Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 need latitude and longitude.

like image 803
user622203 Avatar asked May 24 '11 19:05

user622203


People also ask

How do I find Facebook user data?

You can get user data by using the Facebook Graph API if the user has given their permission to share their data and your app has the appropriate permissions to receive this data. This topic shows you how to make a single request for data and how to have a batch of requests in a single request.

Is there a Facebook API?

The Graph API is the primary way to get data into and out of the Facebook platform. It's an HTTP-based API that apps can use to programmatically query data, post new stories, manage ads, upload photos, and perform a wide variety of other tasks.


1 Answers

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.

like image 83
bkaid Avatar answered Sep 18 '22 15:09

bkaid