Hi everyone!
I'm currently developing a Spotify app for GetGlue and am working on getting authentication working over oAuth. Here's what is working:
What doesn't appear to work is retrieving the access token:
It returns:
The oauth_token and oauth_token_secret are being passed in successfully from my earlier calls. The authorisation function appears to run successfully too... am I missing something in my implementation?
The only area I'm considering it might be is that the oauth_callback isn't the same as the app url. As it is a Spotify app, the app url is a local path of sp://getglue. Spotify redirects the callback from the URL I provide to this local url (this seems to work successfully, it brings me back to the app once the authorisation is complete). However, I'm wondering - does the GetGlue authorisation only allow access to the access token through calls from the callback URL/domain? Or is it solely granting access to the oauth_token and oauth_token_secret combo?
Any help is greatly appreciated! This has me stumped...
Thanks,
Patrick