Hi
I am suddenly having this response when trying to post a tweet with php using my app (i have been working fine until today), I want to know if I am been blacklisted from Twitter and How to solve it. I keep close track of api limits so the user does not become abusive
Our server is at: 70.39.148.199
curl --verbose “https://api.twitter.com/1.1/help/test.json”
- About to connect() to api.twitter.com port 443 (#0)
- Trying 199.59.150.9… Connection timed out
- Trying 199.59.149.232… Connection timed out
- Trying 199.59.148.87… Connection timed out
- couldn’t connect to host
- Closing connection #0
curl: (7) couldn’t connect to host
This works fine on my Mac at home, other API calls return data just fine. I ran a few tests on the server with non-Twitter URLs, all responded, the server is alive and healthy. It’s just Twitter that is not responding.
I tried to file a ticket with support, but none of the categories fit. I am struggling to keep my service up and running with our main server blocked, so I am happy to provide any details, shut anything down or check anything to resolve this asap.
I am using thmattharris php lib
this is the response i get
tmhOAuth Object
(
[response] => Array
(
[raw] =>
[code] => 0
[response] =>
[info] => Array
(
[url] => https://api.twitter.com/1.1/statuses/update.json
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 10.000422
[namelookup_time] => 0.001806
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => -1
[starttransfer_time] => 0
[redirect_time] => 0
[certinfo] => Array
(
)
[redirect_url] =>
)
[error] => couldn't connect to host
[errno] => 7
)
[params] => Array
(
)
[headers] => Array
(
[Authorization] => OAuth oauth_consumer_key="R1Wog9NvOIhlqafdykZPw", oauth_nonce="abcb06fbf24fb705bbedbe697d77427c", oauth_signature="cdut5dFJY4GrHRPFIYMfLLpS0xY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1372745202", oauth_token="581878525-YYOHfRnWI3VqivPKBgiVGlxwA7RWc4BEIYt641Us", oauth_version="1.0"
[Expect] =>
)
[auto_fixed_time] =>
[buffer] =>
[config] => Array
(
[user_agent] => tmhOAuth 0.7.1+SSL - //github.com/themattharris/tmhOAuth
[timezone] => America/Caracas
[use_ssl] => 1
[host] => api.twitter.com
[consumer_key] => R1W*************kZPw
[consumer_secret] => O1tj0O********************B44ieUeLSL3gMRrM
[user_token] => **********************
[user_secret] => ***********************
[force_nonce] =>
[nonce] => abcb06fbf24fb705bbedbe697d77427c
[force_timestamp] =>
[timestamp] => 1372745202
[oauth_version] => 1.0
[oauth_signature_method] => HMAC-SHA1
[curl_connecttimeout] => 30
[curl_timeout] => 10
[curl_ssl_verifyhost] => 2
[curl_ssl_verifypeer] => 1
[curl_cainfo] => /home/*****/public_html/libs/twitter/cacert.pem
[curl_capath] => /home/*****/public_html/libs/twitter
[curl_followlocation] =>
[curl_proxy] =>
[curl_proxyuserpwd] =>
[curl_encoding] =>
[is_streaming] =>
[streaming_eol] =>
[streaming_metrics_interval] => 60
[as_header] => 1
[debug] =>
[multipart] =>
)
[method] => POST
[url] => https://api.twitter.com/1.1/statuses/update.json
[signing_params] => oauth_consumer_key=R1Wog9N****kZPw&oauth_nonce=abcb06fb****e697d77427c&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1372745202&oauth_token=58*****WI3VqivPKBgiVGlxwA7RWc4BEIYt641Us&oauth_version=1.0&status=test
[auth_params] => Array
(
[oauth_consumer_key] => R1W******dykZPw
[oauth_nonce] => abcb06fbf24fb705bbedbe697d77427c
[oauth_signature] => cdut5dFJY4GrHRPFIYMfLLpS0xY%3D
[oauth_signature_method] => HMAC-SHA1
[oauth_timestamp] => 1372745202
[oauth_token] => 581******KBgiVGlxwA7RWc4BEIYt641Us
[oauth_version] => 1.0
)
[request_params] => status=test
[base_string] => POST&https%3A%2F%2Fapi.twitter.com%2F1.1%2Fstatuses%2Fupdate.json&oauth_consumer_key%3DR1Wog9NvOIhlqafdykZPw%26oauth_nonce%3Dabcb06fbf24fb705bbedbe697d77427c%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1372745202%26oauth_token%3D581878525-YYOHfRnWI3VqivPKBgiVGlxwA7RWc4BEIYt641Us%26oauth_version%3D1.0%26status%3Dtest
[signing_key] => O1tj0OsXKPLyGWRrT8clrSb1gDB44ieUeLSL3gMRrM&pLA38e6eMGyZ5py8Cot42bWxAJeoGWYBJHVVvkXtFA
[auth_header] => OAuth oauth_consumer_key="R*****hlqafdykZPw", oauth_nonce="abcb06fbf24fb705bbedbe697d77427c", oauth_signature="cdut5dFJY4GrHRPFIYMfLLpS0xY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1372745202", oauth_token="58******KBgiVGlxwA7RWc4BEIYt641Us", oauth_version="1.0"
)
Thanks.