无法使用Spotify API授权 [英] Can't authorize with Spotify API

查看:140
本文介绍了无法使用Spotify API授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试通过Spotify API( https://developer.spotify. com/web-api/authorization-guide/),而我的代码是:

I try to authorize through Spotify API (https://developer.spotify.com/web-api/authorization-guide/) and my code is:

<a href="">Spotify link</a>

但没有将我重定向到我的页面,而是说:

But instead of redirect me to my page it says:

我试图从developer.spotify.com上的我的应用程序"选项卡中删除应用程序,并使用新的客户端ID创建一个新应用程序,这没有什么不同.我使用我的Facebook帐户登录到Spotify.

I tried to delete app from "My applications" tab on developer.spotify.com and create a new one with new client id and it is no different. I log in to Spotify with my Facebook account.

推荐答案

好,我知道了.您必须转到应用程序设置,然后在重定向URL"中输入您的URL,这样就可以了.我想知道为什么它没有包含在文档中.

Ok, I figured it out. You have to go to your application settings and enter your URL into "Redirect URLs" and it will work. I wonder why it isn't included in documentation.

这篇关于无法使用Spotify API授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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