facebook-field-expansion

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

给你一囗甜甜゛ 提交于 2019-12-30 08:13:11
问题 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 If I change this to a single graph API call using field expansion like this: /me?fields=id,name,username,friends,likes,feed Will that now count as one hit against the API instead of four for rate limiting purposes? 回答1: Unfortunately, each call in the batch is counted as an api call, it's just faster to call them within a batch since it will be 1 request. See here

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

最后都变了- 提交于 2019-12-30 08:13:08
问题 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 If I change this to a single graph API call using field expansion like this: /me?fields=id,name,username,friends,likes,feed Will that now count as one hit against the API instead of four for rate limiting purposes? 回答1: Unfortunately, each call in the batch is counted as an api call, it's just faster to call them within a batch since it will be 1 request. See here

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

给你一囗甜甜゛ 提交于 2019-12-01 03:38:19
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 If I change this to a single graph API call using field expansion like this: /me?fields=id,name,username,friends,likes,feed Will that now count as one hit against the API instead of four for rate limiting purposes? Unfortunately, each call in the batch is counted as an api call, it's just faster to call them within a batch since it will be 1 request. See here documentation on Facebook API: Limits We currently limit the number of requests which can be in a batch to