Skip to content

Instantly share code, notes, and snippets.

@danwaz
Last active December 26, 2015 21:49
Show Gist options
  • Save danwaz/7218653 to your computer and use it in GitHub Desktop.
Save danwaz/7218653 to your computer and use it in GitHub Desktop.
Query Facebook for all Brand Locations
/*
Query Facebook for all Brand Locations
*/
//Graph API query - https://developers.facebook.com/tools/explorer/?method=GET
{page_id}/locations?fields=checkins,likes,location,were_here_count,link,talking_about_count
//Using Curl
curl -X GET "https://graph.facebook.com/{page_id}/locations?access_token={access_token}" > results.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment