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.