1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

issue: OAuth oauth_problem="parameter_absent: oauth_signature", realm="yahooapis.com"

Discussion in 'Yahoo' started by huyhoang08, Jun 28, 2012.

  1. #1
    according to yahoo API official online document, i exploring oauth with yahoo & i want to grab yahoo contacts by using url: http://social.yahooapis.com/v1/user/GUID/contacts
    i have got some information as step 5 of oauth show in http://developer.yahoo.com/oauth/guide/oauth-refreshaccesstoken.html
    And now, i'm using CURL to load: http://social.yahooapis.com/v1/user/GUID/contacts to grab contacts list
    my code here:
    //starting load contact
        'oauth_signature_method:PLAINTEXT',    //HMAC-SHA1
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $get_contacts_url);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_HTTPHEADER, $auth_header);
    echo curl_exec ($ch);
    But i still get issue: Please provide valid credentials. OAuth oauth_problem="parameter_absent: oauth_signature", realm="yahooapis.com"

    People can help me? I wondering this message. I dont any treat with this problem.
    huyhoang08, Jun 28, 2012 IP