Php get email and username

And you checked that $validate_token contains the token?

I don’t see any other problem with your code