PHP Classes

problem with login_with_facebook.php

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  problem with login_with_facebook.php  >  (Un) Subscribe thread alerts  
Subject:problem with login_with_facebook.php
Summary:it was not possible to open the OAuth access token URL
Messages:4
Author:Alexey Zhukov
Date:2013-03-30 14:13:52
Update:2013-07-03 22:21:36
 

  1. problem with login_with_facebook.php   Reply   Report abuse  
Picture of Alexey Zhukov Alexey Zhukov - 2013-03-30 14:13:52
Hi, I have a problem with login_with_facebook.php. After authorization on facebook server I get a error message:
[error] => it was not possible to open the OAuth access token URL: 111 could not connect to the host "graph.facebook.com"

[debug_output] => OAuth client: Checking if OAuth access token was already retrieved from https://graph.facebook.com/oauth/access_token
OAuth client: Checking the authentication state in URI /wp-votes.php?action=fb&code=AQDHTKPDLTm6W7nNQoweicUiMRxJamNNa799jXwYfZF3qGjTdseVmRgPpzGtKjinZMIZj_pTWskPEvjnn4SQC0bKHJfVo3O35B-1i-BMq9Q29RgP7xnzAWvg8W_Q7YovISBIdI0ePVmhp0Sxzb__4OMDFOo1YtZUrFeMxyLAoMJeVNpQNGqyTyQ2wIBoXA0deEqACccUD6Au2jFQEM8U0bnV&state=1364638822-1e9b7f
OAuth client: Checking the authentication code
OAuth client: Accessing the OAuth access token at https://graph.facebook.com/oauth/access_token
OAuth client: Error: it was not possible to open the OAuth access token URL: 111 could not connect to the host "graph.facebook.com"

How I can solve it?

  2. Re: problem with login_with_facebook.php   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-03-30 19:02:48 - In reply to message 1 from Alexey Zhukov
This is a connectivity problem. It is not an issue with the class. It may happen once in a while. You need to anticipate in your application that it may not be possible to access Facebook API temporarily.

  3. Re: problem with login_with_facebook.php   Reply   Report abuse  
Picture of Gregory Lewis Gregory Lewis - 2013-07-03 22:06:19 - In reply to message 2 from Manuel Lemos
I just downloaded this package. The very first line requires a file that is not in the package, "require('http.php');" Where is this file, or do I not understand what this is supposed to mean?

Gregory

  4. Re: problem with login_with_facebook.php   Reply   Report abuse  
Picture of Gregory Lewis Gregory Lewis - 2013-07-03 22:21:36 - In reply to message 3 from Gregory Lewis
Found it! It is another package, dependencies, and can be found here:
phpclasses.org/browse/package/3/dow ...