Does anyone know if it's possible to use Facebook's Graph API to query all the people within a city?
If that's not possible, would it work if I post AJAX request that simulate the action of scroll page down in the search page?
Any suggestions would be much appreciated, thanks!
It´s not possible to get all people in a city, you can only search for users by name: https://developers.facebook.com/docs/graph-api/using-graph-api/v2.2#search
Simulating with AJAX is not allowed because that would be scraping: https://www.facebook.com/apps/site_scraping_tos_terms.php
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.