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 7090425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:03:09+00:00 2026-05-28T08:03:09+00:00

I cannot figure out what is wrong with this fql.multiquery and cannot seem to

  • 0

I cannot figure out what is wrong with this fql.multiquery and cannot seem to find any examples of the new sdk with fql.multiquery.

Ultimately I want to get the page name and page id(s) of the visiting user pages which they both administrator and are fans of.

$queries = ‘{

“page_admin_ids” :
“SELECT page_id FROM page_admin WHERE uid = ‘ . $afid . ‘ LIMIT 5”,

“page_fan_ids” :
“SELECT page_id FROM page_fan WHERE page_id IN (SELECT page_id FROM #page_admin_ids)”,

“page_name_and_id” :
“SELECT name, page_id FROM page WHERE page_id IN (SELECT page_id FROM #page_fan_ids)”

}’;

$attachment = array(“method”=>”fql.multiquery”,”query”=>$queries,’access_token’=>$access_token);

$ret_code = $facebook->api($attachment);

print_r($ret_code); die();

  • 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-28T08:03:10+00:00Added an answer on May 28, 2026 at 8:03 am
    $multiQuery = array(
    'likes' => 
        ' SELECT ... FROM like ...',
    'users' => 
        ' SELECT uid, name ' .
        ' FROM user ' .
        ' WHERE uid IN (SELECT user_id FROM #likes) ',
    );
    $multiQueryResult = $facebook->api(array(
        'method'   => 'fql.multiquery',
        'queries'  => $multiQuery
    ));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I cannot seem to figure out where I went wrong with this. favorite share
This seems so simple, but I cannot figure out what's wrong. I'm implementing the
For the life of me I cannot figure out what is wrong with this
What is wrong with this script? I cannot figure out the issue! function editAccount()
I cannot figure out why I get this error during check-in. I checked in
I cannot figure out how to convert this code from C# to VB.net. It
probably it is a simple mistake but I cannot figure out what is wrong.
I'm embarrassed to ask this, but I cannot figure out how to run a
I've been studying this for hours (2 days, actually) and just cannot figure out
This question has been asked before but I still cannot figure whats wrong for

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.