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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With