I already have my HTTP header. But am still receiving the same error.
Iām only Authenticating for my own ID, and here is the code Iām using to build my signature and my HTTP header:
$oauth = array( āoauth_consumer_keyā => $consumer_key,
āoauth_nonceā => time(),
āoauth_signature_methodā => āHMAC-SHA1ā,
āoauth_tokenā => $oauth_access_token,
āoauth_timestampā => time(),
āoauth_versionā => ā1.0ā);
/-------Create OAuth signature -----------/
$base_info = buildBaseString($url, āGETā, $oauth);
$composite_key = rawurlencode($consumer_secret) . ā&ā . rawurlencode($oauth_access_token_secret);
$oauth_signature = base64_encode(hash_hmac(āsha1ā, $base_info, $composite_key, true));
$oauth[āoauth_signatureā] = $oauth_signature;
/-------Set up HTTP header --------/
$header = array(buildAuthorizationHeader($oauth), āExpect:ā);
$options = array( CURLOPT_HTTPHEADER => $header,
CURLOPT_HEADER => false,
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => false);
$feed = curl_init();
curl_setopt_array($feed, $options);
$json = curl_exec($feed);
curl_close($feed);
Itās completely stopped working under V1.1 & Iām desperately looking to solve itā¦