我可以通过Spotify应用使用哪些方法进行地理位置定位? [英] What method(s) can I use for geolocation through a Spotify app?

查看:599
本文介绍了我可以通过Spotify应用使用哪些方法进行地理位置定位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Spotify应用程序API不支持HTML5地理位置,显然,记录的位置API调用不起作用,并且正在从文档中删除。有什么方法可以用来对用户进行地理定位?

解决方案

寻找网站访问者地理位置的解决方案及其对 http://freegeoip.net/ 似乎是你最好的选择。您只需将 http://freegeoip.net/ 添加到您的清单以便从您的应用程序访问。


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?

解决方案

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.

这篇关于我可以通过Spotify应用使用哪些方法进行地理位置定位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆