我有一个Facebook应用程序,它会收到警报“ Rate Limit Reached ” .
APP has reached 100% of the hourly rate limit. All API calls to your app will fail until your app falls below the throttling limit.
以下是导致您的应用达到速率限制的方法细分:按通话计数:
GET {page-id}/posts 277%
GET {page-name-id} 141%
GET {page-name-id}/posts 11%
GET {page-id} 3%
按照来电的速率限制:https://developers.facebook.com/docs/graph-api/advanced/rate-limiting/
我们可以合计按每个用户命中 200 calls / hour . 因此,如果我获得使用该应用程序的用户总数,我可以将其与200一起使用,并确保不会超过Facebook API上的命中数 .
Allowed API Hits = 200 * (Count Of User Installed The APP)
如何获得已安装Facebook应用程序的用户数?任何人都可以帮助使用图形API来获取使用该应用程序的用户数吗?
1 回答
您正在寻找的 endpoints 在应用洞察中:
https://developers.facebook.com/docs/graph-api/reference/application/app_insights/
特别:
facebook_features_monthly_active_users
facebook_features_weekly_active_users
facebook_features_daily_active_users)
希望这可以帮助! :)