1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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