Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I had a similar problem and I believe in my case I found the solution and maybe it would help someone else. (CURLOPT_CONNECTTIMEOUT)</p> <p>HybridAuth error (invalid user) is very generic, basically it looks if the curl returns something and if not, gives that error, but the real reason is not visible in the error message.</p> <p>What I ended up doing is downloading the facebook php sdk and using the default example <a href="https://github.com/facebook/facebook-php-sdk/blob/master/examples/example.php" rel="nofollow">https://github.com/facebook/facebook-php-sdk/blob/master/examples/example.php</a></p> <p>(Changed the keys to my app)</p> <p>At that point I was able to see new error messages that were not showing before when using HybridAuth</p> <p><strong>PHP Fatal error: Uncaught CurlException: 6: name lookup timed out</strong></p> <p>That pointed me to this article <a href="http://milkcodes.blogspot.com/2010/12/php-fatal-error-uncaught-curlexception.html" rel="nofollow">http://milkcodes.blogspot.com/2010/12/php-fatal-error-uncaught-curlexception.html</a> that talks about increasing the timeout of CURL in base_facebook.php which I did and Voila! started working again.</p> <p>The underlying issue in many posts is that CURL connectivity is mostly responsible for these issues (https, timeout, nslookup, etc..)</p> <p>A good way to quickly figure it out is by keeping a test script with fb sdk handy for debugging.</p> <p>in base_facebook.php around line 133</p> <pre><code>public static $CURL_OPTS = array( CURLOPT_CONNECTTIMEOUT =&gt; 30, CURLOPT_RETURNTRANSFER =&gt; true, CURLOPT_TIMEOUT =&gt; 60, CURLOPT_USERAGENT =&gt; 'facebook-php-3.2', </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload