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

--

I changed the URL direction to http://127.0.0.1, opened /basic/index.php, I allowed access to my App and I got redirected to http://127.0.0.1/trackmania-ws-sdk/exam ... guestbook/ and ... okay, now it works. First time, I did that, there was a warning like "int(0) string" or something and I had to log in again. Now I'm authentified and I get my TrackMania data
(but guestbook still doesn't work )

Hello again,
did anything change in the last 1-2 months?
I didn't change my code, but if someone wants to authenticate on my website now, the API doesn't return the information - in my case $trackmania->getPlayer() is false.

EDIT: Requesting player info from players who already registered their login does work - but new users can't register their logins, because of the issue above-mentioned.

bas_3008 wrote: Requesting player info from players who already registered their login does work - but new users can't register their logins, because of the issue above-mentioned.

What do you mean by new users? Please note than it usually takes a couple hours for a new user data to be sync in our database ; as for TMNF users, I think it takes something like a couple hours of ingame to be synchronized.

Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer!