Does libspotify support oauth

半腔热情 提交于 2019-12-01 02:25:42

问题


I just downloaded the libspotify and was looking at the examples and learning more about it. I want to know does the current version of the libspotify support oauth? I have tried searching but didnt find anything so I'm asking here in case I'm missing an important link. My client says that instead of username and password for signing in to spotify they will give me a oauth token (taken from facebook I think) and through that I should be able to sign in. Please guide, thank you.


回答1:


Unfortunately, your client is mistaken.

libspotify logs into the Spotify service using either Spotify or Facebook username/password credentials, and nothing else. You cannot log into Spotify with a Facebook OAuth token.

It's worth noting at this point - never save these details yourself - libspotify can remember them for you in its secure store.



来源:https://stackoverflow.com/questions/9528982/does-libspotify-support-oauth

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!