Which is faster graph vs fql???

Discussion in 'Facebook API' started by 123GoToAndPlay, Jul 21, 2011.

  1. #1
    Hi,

    Wondering if there is any difference in perfomance:
    using graph vs fql

    $friends =  $facebook->api("/$user/friends");
    Code (markup):
    vs something like this fql

    SELECT uid2 FROM friend WHERE uid1 = me()
    Code (markup):
    Any info
     
    123GoToAndPlay, Jul 21, 2011 IP
  2. akshat.gl

    akshat.gl Member

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    Graph API is better than FQL since it involves calling facebook API only once. while FQL involves processing + calling.
     
    akshat.gl, Jul 22, 2011 IP