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

  • SEARCH
  • Home
  • 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 5955625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:08:26+00:00 2026-05-22T18:08:26+00:00

i am new at facebook application development i want to know how fql query

  • 0

i am new at facebook application development i want to know how fql query works i used it in my application but i want to know where fql query results are displayed or how they can be displayed if you can’t explain plz send me the link because the official documentation didn’t helped me either.

  • 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-22T18:08:27+00:00Added an answer on May 22, 2026 at 6:08 pm
    1. Connect to FB using the PHP SDK. (available here)
    ini_set('display_errors',1);
    error_reporting(E_ALL);
    require_once 'library/facebook/src/facebook.php';
    
    1. Check if the user has logged in to FB
    $facebook = new Facebook(array(
    'appId'  => 'YOUR API ID',    
    'secret' => 'YOUR APP SECRET',   
    'cookie' => true, // enable optional cookie support
    ));
    
    1. FQL

      try {
            $me = $facebook->api('/me');
      
            $currentPage=1;
            $currentPost=1;
            $currentDate="";
      
            $list="";
            $arrDate=array();
      
            $fql    =   "YOUR FQL STATEMENT HERE";
            $param  =   array(
               'method'    => 'fql.query',
               'query'     => $fql,
               'callback'  => ''
            );
            $fqlResult   =   $facebook->api($param);//Here you have your FQL result set
      
            foreach($fqlResult as $row){
            //Do something to the result
      
            }
      
          } catch (FacebookApiException $e) {
            error_log($e);
          }
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to Facebook application development. I want to create a test user
I am very new to facebook application development. In my facebook app I want
I am completely new to Facebook application development, but I've got a straight-forward question.
I am new to blackberry application development, i want to integrate Facebook into my
I'm new to facebook development and coding in general. I know there are currently
i want to know how work facebook new timeline image reposition with jquery? this
I am new to facebook application development.My question is:do I have to have a
I'm fairly new to facebook development, but have experience with PHP and JavaScript. I've
I'm really new to Facebook application development, and I'm quite confused about application permissions
I am new to Facebook application development and I am looking for a way

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.