Page 3 of 5

Re: [beta] SDK 2.0 with Namespaces and OAuth2 support!

Posted: 27 Jul 2011, 16:47
by m4rcel
Thank you very much, this was exactly what I wanted to know :)

Re: [beta] SDK 2.0 with Namespaces and OAuth2 support!

Posted: 28 Jul 2011, 16:48
by steppie
So I had a look at it too, interesting stuff :) and some questions now.

1. Can you access both Email, Buddies etc. in the same sessions, and if how?
2. When I call logout I'm not redirected back to my site, how come?
3. How to re-request with the given access Token?

Re: [beta] SDK 2.0 with Namespaces and OAuth2 support!

Posted: 28 Jul 2011, 18:24
by gouxim
steppie wrote:1. Can you access both Email, Buddies etc. in the same sessions, and if how?
You can specify several elements in the scope, separated by a coma. And "basic" is already included to you can do "buddies email" for instance.
steppie wrote:2. When I call logout I'm not redirected back to my site, how come?
It lacks a redirection when you logout out of the player page. Should be fixed soon.
steppie wrote:3. How to re-request with the given access Token?
The access token is stored in the session ; whenever TrackMania\WebServices\OAuth2\Client::executeOAuth2Request() is called, it includes the access token in the request. So basically once the player is logged in, you can execute methods from the TrackMania\WebServices\OAuth2\Player class without worrying about access tokens.

Re: [beta] SDK 2.0 with Namespaces and OAuth2 support!

Posted: 29 Jul 2011, 09:45
by w1lla
nice release... especially oauth2... Anyway love this work...

Could the rate limiting be properly made as now it shows us serveral dates in between each other.

Re: [beta] SDK 2.0 with Namespaces and OAuth2 support!

Posted: 29 Jul 2011, 10:35
by gouxim
w1lla wrote:Could the rate limiting be properly made as now it shows us serveral dates in between each other.
I'm not sure I understand. Are you talking about the dates at the bottom of the request rate graph?

Re: [beta] SDK 2.0 with Namespaces and OAuth2 support!

Posted: 29 Jul 2011, 10:39
by w1lla
yes the dates in google chrome it looks like they are bound together.

Re: [beta] SDK 2.0 with Namespaces and OAuth2 support!

Posted: 29 Jul 2011, 11:28
by gouxim
Fixed

Re: [beta] SDK 2.0 with Namespaces and OAuth2 support!

Posted: 14 Aug 2011, 06:46
by fastforza
gouxim wrote:
steppie wrote:2. When I call logout I'm not redirected back to my site, how come?
It lacks a redirection when you logout out of the player page. Should be fixed soon.
This still isn't fixed too. :P (If you forgot about it.)

I've ported this across to .NET for use on Mania Exchange and it works well. Hopefully farfa will update his .NET library and add it. All I need now is access to the ManiaPlanet service. :ugeek:

Re: [beta] SDK 2.0 with Namespaces and OAuth2 support!

Posted: 02 Sep 2011, 07:29
by fastforza
ManiacTwister wrote:Are there already informations if the webservices will be available for trackmania2? And if yes when?
The ManiaPlanet web services will be ready soon. Some time before (possibly after) the full game release which is nearing. ;)