问题
The Spotify Apps API doesn't allow HTML5 geolocation and apparently the documented Location api call doesn't work and is being removed from the documentation. What are some methods that I can use to geolocate a user?
回答1:
Solutions for finding website visitor's geolocation and its suggestion of http://freegeoip.net/ seems like your best option here. You'd just have to add http://freegeoip.net/ to your manifest for access from your app.
来源:https://stackoverflow.com/questions/20196869/what-methods-can-i-use-for-geolocation-through-a-spotify-app