Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Invalid Credentials #3

Closed
impronunciable opened this Issue Jan 21, 2013 · 14 comments

Comments

Projects
None yet
4 participants
Contributor

impronunciable commented Jan 21, 2013

I know is not very appropiate for a issue to ask this but I want to use the lib with my spotify unlimited credentials (tried some combinations like the 10-digit username + password, facebook username + password, etc...) but always get invalid credentials. Do you know what kind of credentials do I need or should I ask some dev credentials to them?

Thanks.

Owner

TooTallNate commented Jan 21, 2013

Specifically, I think you need to link Spotify with your Facebook account using this link: https://apps.facebook.com/get-spotify/?fb_source=notification&fb_ref=cazzette_de&ref=notif&notif_t=app_notification

Contributor

impronunciable commented Jan 21, 2013

Thanks! I'll take a look.

contra commented Mar 22, 2013

I'm still getting invalid credentials even with it linked and with unlimited access

@contra is your account linked to Facebook or not? I had problems with an account that wasn't a while back.

contra commented Mar 22, 2013

@bencevans it is linked and was created from FB not created then linked

Contributor

impronunciable commented Mar 22, 2013

I had the same issue some months ago and had to make some changes on the
lib internals to make it work. Soon I'll post the changes I made on a gist
so we can check how to implement the workaround on node-spotify-web.
On Mar 22, 2013 5:45 PM, "Eric Schoffstall" notifications@github.com
wrote:

I'm still getting invalid credentials even with it linked and with
unlimited access


Reply to this email directly or view it on GitHubhttps://github.com/TooTallNate/node-spotify-web/issues/3#issuecomment-15320596
.

Owner

TooTallNate commented Mar 22, 2013

@contra If you signed up via Facebook then which username and password are you using? Try setting up a "device password" for Spotify and using that. I think your username is just a bunch of numbers when it's a Facebook signup...

Owner

TooTallNate commented Mar 22, 2013

@danzajdband I'm interested in whatever changes you had to make...

contra commented Mar 22, 2013

@TooTallNate - Device password worked! Thanks for the fix

Owner

TooTallNate commented Mar 22, 2013

@contra Woot!! Thanks for the confirmation.

Contributor

impronunciable commented Mar 23, 2013

@TooTallNate this is my diff in lib/spotify.js

-
   var login = this.creds;
   delete this.creds;
-  login.type = 'sp';
+  login.type = 'fb';
   login.secret = secret;
-
+  login.token = "myToken";
+  login.fbuid = login.username;
Owner

TooTallNate commented Mar 23, 2013

Nice! How do you get "myToken"?

Contributor

impronunciable commented Mar 26, 2013

I think I browsed the auth request for spotify web. I'll do it again to try
to remember where I get that token :P

On Sat, Mar 23, 2013 at 4:37 PM, Nathan Rajlich notifications@github.comwrote:

Nice! How do you get "myToken"?


Reply to this email directly or view it on GitHubhttps://github.com/TooTallNate/node-spotify-web/issues/3#issuecomment-15343324
.

Dan Zajdband

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment