PHP Classes

OAuth client error in Twitter

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement PHP ...  >  All threads  >  OAuth client error in Twitter  >  (Un) Subscribe thread alerts  
Subject:OAuth client error in Twitter
Summary:Not possible to open the OAuth access token URL
Messages:4
Author:Sample Work
Date:2014-12-08 09:20:11
 

  1. OAuth client error in Twitter   Reply   Report abuse  
Picture of Sample Work Sample Work - 2014-12-08 09:20:11
Hi Manuel,

I am trying to access the Twitter API with "login_with_twitter2.php" script and I am getting the following error :

Error: it was not possible to open the OAuth access token URL: 10061 could not connect to the host "api.twitter.com": fsockopen(): unable to connect to ssl://api.twitter.com:443 (No connection could be made because the target machine actively refused it)

I am executing this script from my localhost. Please Help !!

  2. Re: OAuth client error in Twitter   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-12-08 09:30:18 - In reply to message 1 from Sample Work
Maybe you are accessing the Twitter server from a domestic ISP network that Twitter does not accept.

Did you try the login_with_twitter.php script instead?

  3. Re: OAuth client error in Twitter   Reply   Report abuse  
Picture of Sample Work Sample Work - 2014-12-09 04:04:02 - In reply to message 2 from Manuel Lemos
Its giving the same error 10061.

  4. Re: OAuth client error in Twitter   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-12-09 15:33:38 - In reply to message 3 from Sample Work
Could you be on a Windows network behind soe kind of proxy?