简体   繁体   中英

How to get lat/lng from Facebook's location IDS

I have an Android/Web app where users login through FBConnect, now I have location IDs how do I convert those location IDs to lat/lng ?

eg: these are sample location IDs with country and/or city name:

{"id":"110647272290207", "name":"Mohammedia,  Morocco"}

{"id":"111612325521963", "name":"Doha, Qatar"}

{"id":"116190411724975", "name":"Melbourne,  Victoria,  Australia"}

I just found the solution: here it is, it doesn't even require Access Token:

http://graph.facebook.com/[location_id]

eg:

http://graph.facebook.com/116190411724975

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM