Re: [beta] SDK 2.0 with Namespaces and OAuth2 support!
Posted: 02 Sep 2011, 08:58
gouxim said somewhere (don't know exactly where), that the MPWS will be pretty much the same as TMWS 

Code: Select all
Fatal error: Class 'TrackMania\WebServices\OAuth2\Base' not found in ~~~
There's a bug in the example.bas_3008 wrote:1. When I open /oauth2/guestbook/index.php from the examples, there's a
In the OAuth2 directory, theres no Base.php, just Client.php and Players.php! Is that the mistake? Or do I make something wrong?Code: Select all
Fatal error: Class 'TrackMania\WebServices\OAuth2\Base' not found in ~~~
I checked in the DB, redirection URL is not "http://www.epic-clan.de" but "www.epic-clan.de".bas_3008 wrote:2. When I open /oauth2/basic/index.php , I click on "Login with your TrackMania Forever account", I login there, but then "Something went wrong, please try again later"!![]()
Btw: I'm using xampp on my localhost to test this.
My TM-login is bas_3008, API-username is epic-lol.
I registered an OAuth2 application, named epic-clan.de, redirection URL is http://www.epic-clan.de.
Code: Select all
Fatal error: Call to undefined method TrackMania\WebServices\OAuth2\Player::getLogin() in D:\xampp\htdocs\trackmania-ws-sdk\examples\oauth2\guestbook\index.php on line 92
Code: Select all
int(401) string(12) "Unauthorized" string(0) ""