Skip to content

Instantly share code, notes, and snippets.

@ifnull
Last active December 16, 2015 18:30
Show Gist options
  • Save ifnull/5478609 to your computer and use it in GitHub Desktop.
Save ifnull/5478609 to your computer and use it in GitHub Desktop.
Get the Facebook ID for a city page. This is useful when using the API to create events automatically from a CMS. You can test this using Graph API Explorer.
https://graph.facebook.com/search?fields=&q=costa mesa,ca&type=page&category=city&limit=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment