consumer key requirement

801 views
Skip to first unread message

Henrik Lenberg

unread,
Jan 7, 2010, 10:07:17 AM1/7/10
to API Google group
Developers,

We have previously announced that we will soon start requiring app registration for use of our API. Now we have settled on the details and in a couple of weeks we will start requiring the inclusion of "?consumer_key=MY_KEY" in all public API requests.

"MY_KEY" is the API key ("oAuth consumer key") you get when registering your app at http://soundcloud.com/you/apps/new. However, this does not mean that you will need to use OAuth for all requests to our API, you can still do non-user-authenticated request by simply appending the consumer key to your request.

This change is obviously a way for us to enforce app registrations in order to be able to track the API activity. The good news is that active apps will get more exposure in our new Apps Directory. We really hope that this won't affect the open spirit and not cause too much inconvenience related to updating your existing apps!

You can start using the consumer_key inclusion today and in a couple of weeks we will turn off the current open access and update our documentation. Let us know what you think and if you have any questions!

Thanks,
Henrik


---
Henrik Lenberg
Integration Manager, SoundCloud.com
Skype: lenberg
Mobile: +49 1577 33 60 212
---

Evan Olcott

unread,
Jan 7, 2010, 12:08:29 PM1/7/10
to soundc...@googlegroups.com
Is it fair, then, for those of us who use the SoundCloud framework to use this code modification?:

====

SCSoundCloudAPIConfiguration.m:49

- (id)initForProductionWithConsumerKey:(NSString *)inConsumerKey
consumerSecret:(NSString *)inConsumerSecret
callbackURL:(NSURL *)inCallbackURL;
{
return [self initWithConsumerKey:inConsumerKey
consumerSecret:inConsumerSecret
callbackURL:inCallbackURL
apiBaseURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@?consumer_key=%@", kSoundCloudAPIURL, inConsumerKey]]
requestTokenURL:[NSURL URLWithString:kSoundCloudAPIRequestTokenURL]
accessTokenURL:[NSURL URLWithString:kSoundCloudAPIAccesTokenURL]
authURL:[NSURL URLWithString:kSoundCloudAuthURL]];
}

====

If I'm guessing correctly, this should handle everything elegantly... would this be required for the sandbox as well?

> --
> You received this message because you are subscribed to the Google Groups "SoundCloudAPI" group.
> To post to this group, send email to soundc...@googlegroups.com.
> To unsubscribe from this group, send email to soundcloudap...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/soundcloudapi?hl=en.
>
>

Ev
Senior Software Architect
Audiofile Engineering

http://www.audiofile-engineering.com/


Ullrich Schäfer

unread,
Jan 7, 2010, 12:20:10 PM1/7/10
to soundc...@googlegroups.com
You  shouldn't worry about anything.
As long as you supplied the correct consumer key & consumer secret you're done.
All you need to do is invoke all you're API calls using
- (id)performMethod:(NSString *)httpMethod
onResource:(NSString *)resource
     withParameters:(NSDictionary *)parameters
    context:(id)targetContext;

The calls then should be correctly OAuth signed (which includes sending the ConsumerKey) and there's no need to send the ConsumerKey twice.

Regards,
Ullrich

Stjepan Rajko

unread,
Jan 12, 2010, 1:45:57 AM1/12/10
to soundc...@googlegroups.com
On Thu, Jan 7, 2010 at 8:07 AM, Henrik Lenberg <len...@soundcloud.com> wrote:

You can start using the consumer_key inclusion today and in a couple of weeks we will turn off the current open access and update our documentation. Let us know what you think and if you have any questions!


Would it be possible to roll out the change on the sandbox first so we can test & make 100% sure that our apps/libraries are functioning correctly with public requests, before the change hits the SoundCloud site?

Best,

Stjepan

Eric Wahlforss

unread,
Jan 12, 2010, 6:03:29 AM1/12/10
to soundc...@googlegroups.com
hi stjepan,
sounds like a good idea, we'll do that and announce it on this list!

cheers,
eric

> --
> You received this message because you are subscribed to the Google Groups
> "SoundCloudAPI" group.
> To post to this group, send email to soundc...@googlegroups.com.
> To unsubscribe from this group, send email to
> soundcloudap...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/soundcloudapi?hl=en.
>
>

--
Eric Wahlforss
Founder/CTO, SoundCloud

Mail & GTalk: er...@soundcloud.com
Skype: ericwahlforss
Phone: +49 1577 682 42 00
Fax: +49 30 577098869
http://soundcloud.com/eric
Rosenthaler strasse 13, 101 19, Berlin, DE

What is SoundCloud?
http://soundcloud.com/tour

Send me a track?
http://soundcloud.com/eric/dropbox

Henrik Lenberg

unread,
Feb 9, 2010, 6:49:42 AM2/9/10
to soundc...@googlegroups.com
i guess you have to put this on your list and let me know when we're ready to announce this change, no?

henrik

Hannes Tydén

unread,
May 18, 2010, 8:16:34 AM5/18/10
to soundc...@googlegroups.com
We're experimenting with the consumer_key requirement on
api.sandbox-soundcloud.com this week.

The Ruby and ActionScript libraries have been updated already. Python
is underway...

Please let us know if you have any problems accessing resources on
api.sandbox-soundcloud.com.

Cheers,
Hannes
Hannes Tydén
Developer, SoundCloud

Mail: han...@soundcloud.com
Skype: hannestyden
Phone: +49 157 7471 6101
Rosenthalerstr. 13
10119 Berlin, DE

What is SoundCloud?
http://soundcloud.com/tour

Reply all
Reply to author
Forward
0 new messages