The data collected from each check-in users perform when using the Facebook Places service is collected and is now accessible through the Facebook Graph API. Each single check-in is represented using a single object with its own ID number.
The Facebook Graph API allows us to get social data represented using objects connected with each other (e.g. each user is represented using an object and his friends are represented using other objects connected with the first).
Each object on this graph can be retrieved in JSON format. Most objects can be retrieved through simple HTTP. Trying to browse at http://graph.facebook.com/742375122 will get you the basic data about me (in JSON format). The user ID number of each user on the Facebook platfrom is the ID number of the object that represents that user on the facebook graph.
Accessing the Facebook Graph API is feasible through most of Facebook SDKs, including the Facebook JavaScript SDK.