aalteirac / spotifySessionApp

Qlik Session App sample, based on Spotify information
4 stars 3 forks source link

Installation #2

Closed ThomasAndersson1 closed 7 years ago

ThomasAndersson1 commented 7 years ago

Hi,

I did see your demo on Qonnections and I liked it very much. Now I want to show it to my collegues but I don't have the knowledge how to install it on our server. I have tried to download and set up a virtual Proxy but I don't get it to work.

do you have a more step-by-step guide of how to install and configure it?

Br Thomas

aalteirac commented 7 years ago

Hi Thomas,

Thanks for your interest, I've change the project a bit to make it easier to play with Qlik Sense Desktop. You need to follow the readme and everything should be ok then. Let me know !

Thanks

ThomasAndersson1 commented 7 years ago

Thanks, I have followed you instructions for desktop. But I have one more stupid question: How do I run it?

aalteirac commented 7 years ago

indeed better with "node run bin/www" and then go to http://localhost:3002 :-)

ThomasAndersson1 commented 7 years ago

Now we are talking. I got the application running and connected to Spotify, but I receive this error

ThomasAndersson1 commented 7 years ago

Spotify API has a rate limit, error could related (or not :-) ) : {"cookie":"X-sess=92d90292-46be-41b9-f3a9-befbff5ec05b; Path=/; HttpOnly; Secure"}

aalteirac commented 7 years ago

Do you have something printed in the node console, if so copy and paste here ? What is the desktop version ?

ThomasAndersson1 commented 7 years ago

First I didn't have any public playlist and then I added one.

Logged: thomas123andersson { error: 'no public playlist found, create one or turn an existing to public' } Logged: thomas123andersson Logged: thomas123andersson Logged: thomas123andersson

ThomasAndersson1 commented 7 years ago

should I restart the application? I have restarded the browser between my tries.

aalteirac commented 7 years ago

oki, seems you don't have any public playlist on your account. it's better to restart yes. So add one public playlist or turn one of yours into public and let me know. Thanks !

ThomasAndersson1 commented 7 years ago

Hi, I have done that but I still get the same message

Spotify API has a rate limit, error could related (or not :-) ) : {"cookie":"X-sess=b662103f-1a1b-488f-c5f4-1c0c707a6a45; Path=/; HttpOnly; Secure"}

and the consol looks like this

command@0.0.0 start C:\Users\tandersson\Documents\Qlik\Sense\Extensions\spotifySessionApp-master node ./bin/www

Logged: thomas123andersson

aalteirac commented 7 years ago

What's the Qlik Sense Desktop version ?

ThomasAndersson1 commented 7 years ago

Qlik Sense Desktop 3.2 SR2 (10.18.3)

aalteirac commented 7 years ago

Damn, I've updated the readme, you need SR3, sorry for that

ThomasAndersson1 commented 7 years ago

Sorry, I still doesnt work. I upraded to SR4 (hope that was ok). Restarted my computer but I get the same error. Could I have missed anything in the configuration?

aalteirac commented 7 years ago

It's more my fault not having all necessary information ready so no worries :-) I'm gonna do a fresh install on a vm and track the necessary steps. Meanwhile, check if you added the url in the REDIRECT URI's list on spotify: http://localhost:3002/spotify-session-app.html

ThomasAndersson1 commented 7 years ago

Yes, it is there. Thanks for all the support.

aalteirac commented 7 years ago

Ok, checkout the config.js, I have cleaned too much this morning 🥇 (why should we have test cases ? Perhaps for that...) Hopefully it should be ok now ! Let me know :-)

ThomasAndersson1 commented 7 years ago

IT IS WORKING NOW 🥇 But only with Firefox. I have tried it with Chrome and IE10, but it doesn't work, then I tried Firefox and no problem. Thank you very much for you help. It will be nice to show this to my colleagues tomorrow.

aalteirac commented 7 years ago

Hey glad to read that ! I've tested with chrome and IE Edge, works fine for me :-( What's your chrome version ?

ThomasAndersson1 commented 7 years ago

It is working with Firefox and Edge. But not with IE 11 or Chrome IE 11 Version 11.1198.14393.0 Chrome Version 58.0.3029.110 (64-bit)

aalteirac commented 7 years ago

weird, I've got the exact same Chrome version 58.0.3029.110 (64-bit), running SR4 and no problem...

aalteirac commented 7 years ago

Ok to close the issue ?

ThomasAndersson1 commented 7 years ago

Yes and once again thank for the all your help.

aalteirac commented 7 years ago

Thank you Thomas, you have done the dirty testing for others !