Do Facebook Graph API calls using field expansion count differently against the rate limits than batch calls

后端 未结 3 1792
礼貌的吻别
礼貌的吻别 2021-01-11 20:13

I am looking to optimize my Facebook app.

Today I make a batch call with four graph API calls:

/me
/me/friends
/me/likes
/me/feed

I

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-11 20:40

    According to the Facebook Docs,

    The Field Expansion feature of the Graph API, allows you to effectively "join" multiple graph queries into a single call.

    So your queries above would represent four calls in the Batch form, and one call in the Field Expanded form.

    As I noted in a comment above: A batch sends multiple-but-not-necessarily-related queries to Facebook in a single request. Field expansion is like doing joins in SQL through a single query.

提交回复
热议问题