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

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

问题描述

Spotify Apps API 不允许 HTML5 地理定位,显然记录在案的 Location api 调用不起作用,正在从文档中删除.我可以使用哪些方法来定位用户?

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?

推荐答案

解决方案网站访问者的地理位置 及其对 http://freegeoip.net/ 的建议似乎是您最好的选择.您只需将 http://freegeoip.net/ 添加到您的清单中,即可从您的应用程序访问.

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天全站免登陆