Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Each checkinable place must have a valid Place Facebook Page.</strong></p> <p>The <code>place</code> parameter takes in the <code>page_id</code> of a Place Facebook Page. </p> <p>For example, <code>page_id</code> 104999729569954 of Place Facebook Page <a href="http://www.facebook.com/pages/Nanyang-Polytechnic/104999729569954" rel="nofollow noreferrer">http://www.facebook.com/pages/Nanyang-Polytechnic/104999729569954</a></p> <hr /> <p><strong>If your application is letting your users to checkin based on their current location</strong></p> <p>1) Use an external map service such as Google Map's Geolocation to get the coordinates(lat &amp; lon) of your user's current location.</p> <p><strong><em>The set of coordinates returned from Google Map is different from Facebook's own set of coordinates.</em></strong></p> <p>2) To overcome this, do a FQL query to find the closest match of Facebook's coordinates with Google Map's coordinates.</p> <p><code>SELECT page_id,latitude,longitude FROM place WHERE distance(latitude, longitude, "LAT_HERE", "LON_HERE") &lt; 250</code> </p> <p><code>250</code> refers to the radius(m) that it will search within, it can go up to <code>50000</code>.</p> <p>3) Now that you have <code>page_id</code>, <code>latitude</code> and <code>longitude</code>. Assign <code>page_id</code> into <code>place</code> parameter. Assign <code>latitude</code> and <code>longitude</code> into <code>coordinates</code> parameter. You will then be able to publish checkin.</p> <p>You can refer to publish checkin examples that I have posted over here. <a href="https://stackoverflow.com/questions/11072933/facebook-publish-checkins-using-php-sdk-javascript-sdk/11101740#11101740">Facebook - Publish Checkins using PHP SDK/JavaScript SDK</a></p> <hr /> <p><strong>If your application is letting your users to checkin based on selection from a list of place names or gallery of images</strong> (in a game or something)</p> <p>You will just need to find the <code>page_id</code> of each place and bind them to respective place name or image.</p> <hr /> <p><strong>Documentation</strong></p> <p>Page FQL - <a href="http://developers.facebook.com/docs/reference/fql/page/" rel="nofollow noreferrer">http://developers.facebook.com/docs/reference/fql/page/</a></p> <p>Checkins API - <a href="http://developers.facebook.com/docs/reference/api/user/#checkins" rel="nofollow noreferrer">http://developers.facebook.com/docs/reference/api/user/#checkins</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload