PHP Classes

oauth client error (for google, facebook, linkedin)

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement PHP ...  >  All threads  >  oauth client error (for google,...  >  (Un) Subscribe thread alerts  
Subject:oauth client error (for google,...
Summary:oauth client error (for google, facebook, linkedin)
Messages:2
Author:punit panchal
Date:2014-09-27 10:35:50
 

  1. oauth client error (for google,...   Reply   Report abuse  
Picture of punit panchal punit panchal - 2014-09-27 10:35:50
Dear Manuel Lemos,

firstly, i want to thank you for this awesome packages of Yours (PHP Oauth API).

let me tell you, i m a beginner in php Oauth ,Everything worked fine with local server.

but When i made the code login_with_google.php,login_with_facebook.php,login_with_linkedin.php online i am recieving error

for google :

OAuth client error
Error: it was not possible to open the OAuth access token URL: 101 could not connect to the host "accounts.google.com"

for facebook :

OAuth client error

Error: it was not possible to open the OAuth access token URL: 101 could not connect to the host "graph.facebook.com"

Can you please give me some solution to this...

Thanks and Regards
Punit

  2. Re: oauth client error (for google,...   Reply   Report abuse  
Picture of punit panchal punit panchal - 2014-09-27 10:54:54 - In reply to message 1 from punit panchal
hi sowie for above post ... i myself solved it with new version of php 5.4.

Thanks and Regards
Punit