When I access the Facebook Graph API and find a location, I get something like this:
"location": {
"id": 108131085886116,
"name": "Saint Petersburg, Russia"
},
Each location has its own ID. Is there a way I can get a list of all locations that Facebook knows about? Where can I download it?
No, you can’t get a complete list – but depending on your use-case you could just slowly build one out as you encounter new values in your app users’ profiles.
You can also search for places by name and location as a core part of the API