Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7398231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T03:50:42+00:00 2026-05-29T03:50:42+00:00

im working on localhost. im trying to execute this api : $user_albums_photos = $facebook->api(array(

  • 0

im working on localhost.
im trying to execute this api :

$user_albums_photos = $facebook->api(array(
            'method'    => 'fql.query',
            'query'     => 'SELECT src,src_big FROM photo WHERE aid IN (SELECT aid FROM album WHERE owner=me())'
     ));

     print_r($user_albums_photos);
     $r_c = count($user_albums_photos);
     echo "<br>$r_c<br>";

but im getting this exception :

FacebookApiException: SSL connection timeout in F:\Apache2.2\htdocs\FriendLooks\extlib\base_facebook.php on line 820 Call Stack #TimeMemoryFunctionLocation 10.0021342048{main}( )..\freindsloog_fb_galery.php:0 20.0155633832BaseFacebook->api( )..\freindsloog_fb_galery.php:103 30.0155634232BaseFacebook->_restserver( )..\base_facebook.php:551 40.0157639040BaseFacebook->_oauthRequest( )..\base_facebook.php:705 50.0157639040BaseFacebook->getAccessToken( )..\base_facebook.php:761 60.0157639136BaseFacebook->getUserAccessToken( )..\base_facebook.php:317 70.0160639784BaseFacebook->getAccessTokenFromCode( )..\base_facebook.php:351 80.0161640216BaseFacebook->_oauthRequest( )..\base_facebook.php:669 90.0162640672BaseFacebook->makeRequest( )..\base_facebook.php:771 Variables in local scope (#9)

$CURL_OPTS =

Undefined

$ch =

resource(7, Unknown)

$e =

object(FacebookApiException)[2]
  protected 'result' => 
    array
      'error_code' => int 28
      'error' => 
        array
          'message' => string 'SSL connection timeout' (length=22)
          'type' => string 'CurlException' (length=13)
  protected 'message' => string 'SSL connection timeout' (length=22)
  private 'string' (Exception) => string '' (length=0)
  protected 'code' => int 28
  protected 'file' => string 'extlib\base_facebook.php' (length=56)
  protected 'line' => int 820
  private 'trace' (Exception) => 
    array
      0 => 
        array
          'file' => string 'extlib\base_facebook.php' (length=56)
          'line' => int 771
          'function' => string 'makeRequest' (length=11)
          'class' => string 'BaseFacebook' (length=12)
          'type' => string '->' (length=2)
          'args' => 
            array
              ...
      1 => 
        array
          'file' => string 'extlib\base_facebook.php' (length=56)
          'line' => int 669
          'function' => string '_oauthRequest' (length=13)
          'class' => string 'BaseFacebook' (length=12)
          'type' => string '->' (length=2)
          'args' => 
            array
              ...
      2 => 
        array
          'file' => string 'extlib\base_facebook.php' (length=56)
          'line' => int 351
          'function' => string 'getAccessTokenFromCode' (length=22)
          'class' => string 'BaseFacebook' (length=12)
          'type' => string '->' (length=2)
          'args' => 
            array
              ...
      3 => 
        array
          'file' => string 'extlib\base_facebook.php' (length=56)
          'line' => int 317
          'function' => string 'getUserAccessToken' (length=18)
          'class' => string 'BaseFacebook' (length=12)
          'type' => string '->' (length=2)
          'args' => 
            array
              ...
      4 => 
        array
          'file' => string 'extlib\base_facebook.php' (length=56)
          'line' => int 761
          'function' => string 'getAccessToken' (length=14)
          'class' => string 'BaseFacebook' (length=12)
          'type' => string '->' (length=2)
          'args' => 
            array
              ...
      5 => 
        array
          'file' => string 'extlib\base_facebook.php' (length=56)
          'line' => int 705
          'function' => string '_oauthRequest' (length=13)
          'class' => string 'BaseFacebook' (length=12)
          'type' => string '->' (length=2)
          'args' => 
            array
              ...
      6 => 
        array
          'file' => string 'extlib\base_facebook.php' (length=56)
          'line' => int 551
          'function' => string '_restserver' (length=11)
          'class' => string 'BaseFacebook' (length=12)
          'type' => string '->' (length=2)
          'args' => 
            array
              ...
      7 => 
        array
          'file' => string 'freindsloog_fb_galery.php' (length=57)
          'line' => int 103
          'function' => string 'api' (length=3)
          'class' => string 'BaseFacebook' (length=12)
          'type' => string '->' (length=2)
          'args' => 
            array
              ...
  private 'previous' (Exception) => null

$existing_headers =

Undefined

$opts =

array
  78 => int 10
  19913 => int 1
  13 => int 60
  10018 => string 'facebook-php-3.1' (length=16)
  10015 => string 'client_id=309069922463681&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&redirect_uri=&code=2.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.3600.1328119200.1-557002013%xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&access_token=309069922463681%7Cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' (length=232)
  10002 => string 'https://graph.facebook.com/oauth/access_token' (length=45)
  10023 => 
    array
      0 => string 'Expect:' (length=7)

$params =

array
  'client_id' => string 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' (length=15)
  'client_secret' => string 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' (length=32)
  'redirect_uri' => string '' (length=0)
  'code' => string '2.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.3600.1328119200.1-557002013|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' (length=74)
  'access_token' => string 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' (length=48)

$result =

boolean false

$url =

string 'https://graph.facebook.com/oauth/access_token' (length=45)

Array ( )
0
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T03:50:43+00:00Added an answer on May 29, 2026 at 3:50 am

    The issue is you’re attempting to use an APP access token when you should be using a USER access token. I could tell your access token was an APP because is has the | pipe in it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to get the facebook connect stuff working on my localhost. In
I am trying to get Wordpress 3.3.1 multisite (sub-domains) working in my localhost. However,
i'm trying for days to get this working.. but i still fail. <?php $province
tried to find the problem for this but nothings really working. Basically, I'm trying
This is what I am trying to accomplish: location.replace('http://localhost:8888/test/index.php?site=' + document.URL); So I need
I'm trying to get the memcache query/result cache working with Oracle. It works flawlessly
I'm working on a website that runs on Tomcat 6.0 at localhost:8080. Interestingly enough,
I'm working on a CMS with Widgets. On my localhost the followong code works
Working with a SqlCommand in C# I've created a query that contains a IN
I am trying to get a simple demo of Ruby on Rails working on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.