Rdio iOS API registration fails every time

79 views
Skip to first unread message

Jason

unread,
May 12, 2012, 2:50:19 PM5/12/12
to Rdio API
Hi There,

I'm working on an Rdio iOS app, and the most basic initialization of
the Rdio object is failing to authenticate (even as an anonymous
user). I'm building against the iOS 5.1 SDK and testing in the iPhone
simulator. I have an Rdio API account and key with an "active"
status, however the API seems to keep saying I'm unauthorized. Here's
the logging that ends up in console.

2012-05-12 11:39:12.322 -[RDAPIRequest request:didFailWithError:]
(341): Request method getPlaybackToken failed with error unauthorized
2012-05-12 11:39:12.322 -[RDSession
anonymousPlaybackTokenRequest:didFailWithError:](155): Anonymous
playback token failed to load: unauthorized

My test code is the most basic example given in the documentation:

Rdio *rdio = [[Rdio alloc] initWithConsumerKey:@"MyKey"
andSecret:@"MySecretKey" delegate:nil];
[rdio.player playSource:@"t2742133"];

If anyone has any ideas I would greatly appreciate the help!

Ian McKellar

unread,
May 14, 2012, 2:18:05 PM5/14/12
to rdio...@googlegroups.com
Hi Jason,

I'm seeing the same problem with my test app here. I'll let you know when I track down what's going wrong.

Ian


--
You received this message because you are subscribed to the Google Groups "Rdio API" group.
To post to this group, send email to rdio...@googlegroups.com.
To unsubscribe from this group, send email to rdio-api+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rdio-api?hl=en.




--
Ian McKellar, API, Rdio Inc.
@ian @rdioapi

Ian McKellar

unread,
May 14, 2012, 9:47:05 PM5/14/12
to rdio...@googlegroups.com
And now it's working fine in my test app.

Jason, can you try this again? Can you try building a fresh iOS project to try?

Ian

Jason

unread,
May 14, 2012, 9:56:08 PM5/14/12
to rdio...@googlegroups.com, i...@rd.io
Haha.. Yea, my project is also working now! I didn't make any modifications on my side. Maybe mashable was having some issues with the API service. 

Weird... but I'm happy it's working now! Thanks for the help!

Jason
Ian

Ian


To unsubscribe from this group, send email to rdio-api+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/rdio-api?hl=en.

--
Ian McKellar, API, Rdio Inc.
@ian @rdioapi

Reply all
Reply to author
Forward
0 new messages