How to use "authorizeUsingAccessToken"

21 views
Skip to first unread message

Zeeshan Ahmad

unread,
Sep 30, 2015, 10:49:53 AM9/30/15
to Rdio API, develope...@rdio.com
I get the response from Webite Rdio Login is following.

{"access_token"=>"AAAAAWEAAAAAAixfMQAAAIBV0whcVdOxHAAAABozdGR4enhoYTJmY3o1amh4M2Zzb3I3ZTJveWSLqxBFaLBE7vBxq0EtGKb0hYfhZVw4Q6aM4XhNEZCr", "token_type"=>"bearer", "expires_in"=>43200, "refresh_token"=>"AAAAAXIAAAAAAixfMQAAAIBV0whce2sOXAAAABozdGR4enhoYTJmY3o1amh4M2Zzb3I3ZTJveb0lZpsdV6olWeh_v5NdIWlEV2A3DqFXQFXyTVRbQwn3", "scope"=>"shared_playstate"}

HOW can i use this Response into my ios application for login user through access token method ?

What are the params for using this function "authorizeUsingAccessToken" ?

I research and got this

#import “AFOAuth2Manager.h” 
AFOAuthCredential *accessToken = [AFOAuthCredential credentialWithOAuthToken:YOUR_ACCESS_TOKEN tokenType:kAFOAuthCodeGrantType]; 
[_rdio authorizeUsingAccessToken:accessToken];

But while using AFOauthCredential Request, WHAT is the "YOUR_ACCESS_TOKEN" format ?

Nitin Kumar

unread,
Dec 15, 2015, 11:42:50 PM12/15/15
to rdio...@googlegroups.com

URL: https://services.rdio.com/api/1/

HEADER: Authorization: Bearer AAAAAWEAAAAAAdOQDgAAAIBVuh62VbrHdgAAABp0bm1wNDVrYmxiZWt2bmxkZzZqbWx1emkzZcY8BJSAcNHdZ00xuCaZs

Content-Type: application/x-www-form-urlencoded

DATA: method=getPlaylists

Nitin Kumar

unread,
Dec 15, 2015, 11:43:41 PM12/15/15
to rdio...@googlegroups.com
Rdio
Goodbye… for now.
Over the course of five years, Rdio has grown to become a global community of music lovers — a place to discover, listen, and collect. We’re proud to have built that community with you. 

As we announced last month, Rdio is being acquired. As part of the acquisition, the Rdio service will be shutting down worldwide on December 22, 2015 at approximately5pm PST. 

We know you want to find a home for the music you’ve discovered and collected on Rdio, so we’re providing ways for you to take it with you. Visit rdio.com/farewell and log in with your Rdio account for more information. 

Thank you. We’re honored to have connected you with the music you love. And we look forward to bringing great music experiences to even more listeners in the future as part of the Pandora team. 

Find export tools and more on the Rdio farewell site.
Visit the site

Rdio US  |  Facebook  |  Twitter  |  Blog  |  Help

Rdio and the Rdio logo are trademarks of Rdio, Inc. © 2015 Rdio Inc. All rights reserved. 
Rdio, Inc. 1550 Bryant St, Suite 200, San Francisco, CA 94103 
If you prefer not to receive emails like this from Rdio, you may unsubscribe.

Reply all
Reply to author
Forward
0 new messages