问题
I am developing phonegap application and I want to show a list for nearby places using facebook.
I understand that I need to get access_token in order to use the graph api, but it seems akward and strange to ask the user login to facebook so I can get list of places that has nothing with you (I am not looking for places the user like/visited).
There is another way without asking the user to log-in?
回答1:
You can get places with an App Access Token, which does not require the user to log in.
Good luck with this. Location search with the Facebook APIs is challenging.
You might want to take a look at the Factual API or one of the Mapping APIs to get the place data.
来源:https://stackoverflow.com/questions/12133623/acess-token-for-getting-nearby-places