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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:09:52+00:00 2026-05-31T03:09:52+00:00

I am having 4-5 fql queries in single function. Each of them taking 2-4

  • 0

I am having 4-5 fql queries in single function. Each of them taking 2-4 seconds to execute. Total 14-15 seconds are required to execute that whole function. User required to wait for long time. So I want to reduce that processing time. ( There is not well supported multi-threading concept in PHP.)

I have heard of batch request concept in graph api. And I have googled a lot but didn’t understand how to use batch request for fql queries in graph api.

  • Can anyone give explanation with example for using batch request of fql queries ?
  • By what time query processing time will reduce?
  • Is there any another method to reduce time of many fql queries?
  • 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-31T03:09:53+00:00Added an answer on May 31, 2026 at 3:09 am

    Instead of calling each FQL query separately, why not use FQL Multiquery?

    http://developers.facebook.com/docs/reference/rest/fql.multiquery/

    UPDATE
    Otherwise, if you don’t want do use multiquery I think what you’re looking for is here. I couldn’t find anything more about FQL and Batch.

    curl \
         -F 'access_token=…' \
         -F 'batch=[{ "method": "POST", \
        "relative_url": "method/fql.query?query=select+name+from+user+where+uid=4", \
         }]
    https://graph.facebook.com
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having trouble with each function... Will try to explain by example... In my code,
Having a weird issue with IE that I've never seen before. A whole bunch
Having a bit of a problem, Due to the source-control set-up we use, each
Having trouble with proper regex for RewriteCond RewriteCond %{REQUEST_URI} !^/foo/ Works as expected, that
Having a list of data object and something visual to represent each, where would
I am using FQL to get a users feed, the problem I am having
I am having a wierd problem, things that worked before stopped working today, maybe
Having searched a whole lot of similair posts, workarounds, I decided to make my
Having used storyboards for a while now I have found them extremely useful however,
Having a User ID xUID, i know I can get a profile picture this

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.