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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:46:38+00:00 2026-05-25T23:46:38+00:00

just wondering when it comes to just the basic GET/POST. (i.e something simple as

  • 0

just wondering when it comes to just the basic GET/POST.
(i.e something simple as getting the users profile and not something complicated like getting a pictures from every album)

which is faster?
Graph or FQL.

i know FQL is newer than graph, but unsure if its more efficient.

  • 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-25T23:46:38+00:00Added an answer on May 25, 2026 at 11:46 pm

    It’s in no way comparable like this. While you can get same data (in some cases) from both
    their intents are completely different: FQL is a query language, Graph is an API.

    Calling to FQL query if using new JS SDK is a Graph API call itself…

    You can (and probably should, if you worry about real comparison and not theoretical speculation) compare speed of calls returning same data but you should take into account some things:

    • Graph API still sucks at data filtering conditions and aggregation of data
    • FQL just can’t provide you too many of functionality required in today’s applications (like Real-Time updates)
    • Graph API have an ability batch calls, which may speed up things a lot, this also can be used to call fql.query and fql.multiquery (in a bit cumbersome way).
    • Graph API rocks at data filtering with Field Expansion

    Consider following example from FQL documentation, subquery that fetches all user information for the active user and friends:

    SELECT uid, name, pic_square FROM user WHERE uid = me()
    OR uid IN (SELECT uid2 FROM friend WHERE uid1 = me())
    

    This simply not possible to achieve with a single Graph API call. (see Update)

    Once you define desired subset of data to get you can choose appropriate method of retrieval based on your requirements.

    BTW, FQL is much older than Graph, we had it aside to FBML (rip) and FBJS (rip)

    Update:

    Graph API providing way for Batch Requests and specifying dependencies between operations in the request. For example same sample as above can be achieved in a single call to Graph API

    POST https://graph.facebook.com/
    POST Data:
    batch=[
      {
        "method": "GET",
        "name" : "get-friends",
        "relative_url": "me/friends?fields=id",
      },
      {
        "method": "GET",
        "relative_url": "?ids={result=get-friends:$.data.*.id}&fields=id,name,picture"
      }
    ]
    

    Update 2:
    As of 30 August 2012 Graph API is also support Field Expansion as additional (very powerful) mechanism of data retrieval (including nested data)

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

Sidebar

Related Questions

Just wondering why people like case sensitivity in a programming language? I'm not trying
This is pretty simple, I come from a swing/awt background. I'm just wondering what
I just setup a basic rails wiki app. Where user comes in and creates
I was just wondering at what point the browser executes JavaScript when it comes
I'm just getting started with the new(ish) class-based views, and I am wondering what's
I’m just wondering if anyone’s come across or could recommend an IDE that’s capable
just wondering if anyone knows of a truly restful Put/delete implementation asp.net mvc preview
Just wondering if a .NET app can be compiled down to native machine code
Just wondering if there is an easy way to add the functionality to duplicate
Just wondering what the difference between BeginInvoke() and Invoke() are? Mainly what each one

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.