- "Jose Alcérreca (AdSense API Team)" <email@example.com> Oct 24 09:13AM -0700
Well, this problem is about your specific environment and it doesn't look
related with the API or the client library.
Have you installed the JSON PHP extension?
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
Registered in England Number: 3977902
On Wednesday, 23 October 2013 18:24:46 UTC+1, Matteo Giampaolo wrote:
- Matteo Giampaolo <firstname.lastname@example.org> Oct 24 08:16AM -0700
I'm trying to handle manually response for a token request (after previous
step with authorization code request...succesfully)
Here are my PHP code
'code' => 'xxxx',
'client_id' => 'xxx',
'client_secret' => 'xxxxxxx',
'redirect_uri' => 'xxxxx',
'grant_type' => 'authorization_code'
$result = http_post_fields("https://accounts.google.com/o/oauth2/token",
but I receive a "invalid_grant" error
You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/adsense-api.
For more options, visit https://groups.google.com/groups/opt_out.