FbDevWiki is for sale on Flippa. Please take a look at the page if you're interested. There's only a few days left to the auction!

FQL:place

From Facebook Developer Wiki (FbDevWiki.com)
Jump to: navigation, search

Query this table to return information about a place.

Columns

Highlighted rows are indexable / searchable and one is usually required in the WHERE portion of the query.

Name Type Description
page_id string The Facebook Page ID of the place
name string The name of the place.
description string The description of the place.
geometry array An array describing where the location exists, in GeoJSON format. (This could be a point, a polygon, or other types of geometries.)
latitude int The latitude of the location.
longitude int The longitude of the location.
checkin_count int The number of times users have checked into the location.

Examples

SELECT name,description,geometry,latitude,longitude,checkin_count 
   FROM place WHERE page_id=120176408032373

Get places within 1000 meters of a given coordinate (example from stackoverflow)

SELECT page_id FROM place WHERE 
    distance(latitude, longitude, "37.76", "-122.427") < 1000
Personal tools
Namespaces
Variants
Actions
Navigation
Graph API
FQL
Toolbox