Batch calls with Facebook Graph API & PHP

前端 未结 5 1216
遇见更好的自我
遇见更好的自我 2020-12-13 07:55

Designing my first app against the Graph API, using version 2.1.2 of the Facebook supplied PHP library. Trying to maximize performance, etc out of the box and want to batch

5条回答
  •  [愿得一人]
    2020-12-13 08:31

    I added a null check to mine:

    $friends_locations = $facebook->api_client->fql_query('SELECT name,birthday_date, pic_square FROM user WHERE uid in (SELECT uid2 from friend where uid1='. $user_id .') and birthday_date > 0');
    

提交回复
热议问题