Friday, October 25, 2013

Digest for - 2 Messages in 2 Topics


    "Jose Alcérreca (AdSense API Team)" <> 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?
    Jose Alcérreca
    Developer Relations
    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 <> 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
    function post_req()
    $postdata =(
    'code' => 'xxxx',
    'client_id' => 'xxx',
    'client_secret' => 'xxxxxxx',
    'redirect_uri' => 'xxxxx',
    'grant_type' => 'authorization_code'
    $result = http_post_fields("",
    but I receive a "invalid_grant" error
    Any idea?


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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment