Skip to content

Instantly share code, notes, and snippets.

@ptim
Created May 13, 2013 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptim/d99c5b0117274b5d91ba to your computer and use it in GitHub Desktop.
Save ptim/d99c5b0117274b5d91ba to your computer and use it in GitHub Desktop.
object(tmhOAuth)#312 (15) {
["response"]=>
array(6) {
["raw"]=>
string(0) ""
["code"]=>
int(0)
["response"]=>
bool(false)
["info"]=>
array(22) {
["url"]=>
string(57) "https://api.twitter.com/1/account/verify_credentials.json"
["content_type"]=>
NULL
["http_code"]=>
int(0)
["header_size"]=>
int(0)
["request_size"]=>
int(506)
["filetime"]=>
int(-1)
["ssl_verify_result"]=>
int(0)
["redirect_count"]=>
int(0)
["total_time"]=>
float(5.007534)
["namelookup_time"]=>
float(2.3E-5)
["connect_time"]=>
float(0.00066)
["pretransfer_time"]=>
float(0)
["size_upload"]=>
float(0)
["size_download"]=>
float(0)
["speed_download"]=>
float(0)
["speed_upload"]=>
float(0)
["download_content_length"]=>
float(-1)
["upload_content_length"]=>
float(0)
["starttransfer_time"]=>
float(0)
["redirect_time"]=>
float(5.007642)
["certinfo"]=>
array(0) {
}
["request_header"]=>
string(506) "GET /1/account/verify_credentials.json HTTP/1.1
User-Agent: tmhOAuth 0.7.5-SSL - //github.com/themattharris/tmhOAuth
Host: api.twitter.com
Accept: */*
Accept-Encoding: deflate, gzip
Authorization: OAuth oauth_consumer_key="<deleted>", oauth_nonce="<deleted>", oauth_signature="<deleted>%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1368459324", oauth_token="<deleted>", oauth_version="1.0"
"
}
["error"]=>
string(17) "SSL connect error"
["errno"]=>
int(35)
}
["params"]=>
array(0) {
}
["headers"]=>
array(1) {
["Authorization"]=>
string(300) "OAuth oauth_consumer_key="<deleted>", oauth_nonce="f0737f6e13ab1a137b877161efcc3136", oauth_signature="<deleted>%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1368459324", oauth_token="<deleted>", oauth_version="1.0""
}
["auto_fixed_time"]=>
bool(false)
["buffer"]=>
NULL
["config"]=>
array(30) {
["user_agent"]=>
string(56) "tmhOAuth 0.7.5-SSL - //github.com/themattharris/tmhOAuth"
["timezone"]=>
string(3) "UTC"
["use_ssl"]=>
bool(true)
["host"]=>
string(15) "api.twitter.com"
["consumer_key"]=>
string(22) "<deleted>"
["consumer_secret"]=>
string(41) "<deleted>"
["user_token"]=>
string(50) "<deleted>"
["user_secret"]=>
string(41) "<deleted>"
["force_nonce"]=>
bool(false)
["nonce"]=>
string(32) "f0737f6e13ab1a137b877161efcc3136"
["force_timestamp"]=>
bool(false)
["timestamp"]=>
int(1368459324)
["oauth_version"]=>
string(3) "1.0"
["oauth_signature_method"]=>
string(9) "HMAC-SHA1"
["curl_connecttimeout"]=>
int(30)
["curl_timeout"]=>
int(10)
["curl_ssl_verifyhost"]=>
int(2)
["curl_ssl_verifypeer"]=>
bool(false)
["curl_cainfo"]=>
string(70) "/var/www/www.nosmokes.com.au/wp-content/plugins/twitget/lib/cacert.pem"
["curl_capath"]=>
string(59) "/var/www/www.nosmokes.com.au/wp-content/plugins/twitget/lib"
["curl_followlocation"]=>
bool(false)
["curl_proxy"]=>
bool(false)
["curl_proxyuserpwd"]=>
bool(false)
["curl_encoding"]=>
string(0) ""
["is_streaming"]=>
bool(false)
["streaming_eol"]=>
string(2) "
"
["streaming_metrics_interval"]=>
int(60)
["as_header"]=>
bool(true)
["debug"]=>
bool(false)
["multipart"]=>
bool(false)
}
["custom_headers"]=>
array(0) {
}
["method"]=>
string(3) "GET"
["url"]=>
string(57) "https://api.twitter.com/1/account/verify_credentials.json"
["signing_params"]=>
string(227) "oauth_consumer_key=<deleted>&oauth_nonce=f0737f6e13ab1a137b877161efcc3136&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1368459324&oauth_token=<deleted>&oauth_version=1.0"
["auth_params"]=>
array(7) {
["oauth_consumer_key"]=>
string(22) "<deleted>"
["oauth_nonce"]=>
string(32) "<deleted>"
["oauth_signature"]=>
string(30) "<deleted>%3D"
["oauth_signature_method"]=>
string(9) "HMAC-SHA1"
["oauth_timestamp"]=>
string(10) "1368459324"
["oauth_token"]=>
string(50) "<deleted>"
["oauth_version"]=>
string(3) "1.0"
}
["request_params"]=>
array(0) {
}
["base_string"]=>
string(323) "GET&https%3A%2F%2Fapi.twitter.com%2F1%2Faccount%2Fverify_credentials.json&oauth_consumer_key%<deleted>%26oauth_nonce%<deleted>%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1368459324%26oauth_token%<deleted>-<deleted>%26oauth_version%3D1.0"
["signing_key"]=>
string(83) "<deleted>"
["auth_header"]=>
string(300) "OAuth oauth_consumer_key="<deleted>", oauth_nonce="f0737f6e13ab1a137b877161efcc3136", oauth_signature="<deleted>%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1368459324", oauth_token="<deleted>", oauth_version="1.0""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment