Hello,
I am using the Abraham Twitter OAuth library with my application.  I
am seeing a 401 error on the first token request and I would like some
help figuring out what I am doing wrong.  My application is registered
as R/W.  I copied my Consumer Key and Secret values to the config.php
file.  As part of my debugging I did change the authenticateURL() and
authorizeURL() values from twitter.com to api.twitter.com, but I don't
think I am even getting to those calls.

Here is my request and the results from the redirect.php page:

Last Headers: url:https://api.twitter.com/oauth/request_token?
oauth_callback=http%3A%2F%2Fwww.airportview.net
%2Findex.php&oauth_consumer_key=Umf4Yxc4lpevt8g1yf7Ig&oauth_nonce=03d49df4c50068e7c129a4484d3edce3&oauth_signature=
%2B1HANFgddl6QYI%2FGIRIaUOLMIBI%3D&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1273603233&oauth_version=1.0
content_type:text/html; charset=utf-8
http_code:401
header_size:981
request_size:387
filetime:-1
ssl_verify_result:0
redirect_count:0
total_time:2.191915
namelookup_time:0.000118
connect_time:0.058302
pretransfer_time:0.215633
size_upload:0
size_download:477
speed_download:217
speed_upload:0
download_content_length:477
upload_content_length:0
starttransfer_time:2.191894
redirect_time:0

I would guess that I am misusing the library somehow, but I am not
sure how.  Thanks.

Reply via email to