我正在尝试获取已安装我的应用程序的用户数量。我正在发送基于以下信息构建的 fql 查询:
https://developers.facebook.com/docs/reference/fql/insights/#Metrics
由于这条指令,我需要调用指标 'application_installed_users',期间未指定“lifetime”和 end_time。
我尝试在https://developers.facebook.com/tools/中调用:
SELECT metric, value FROM insights WHERE object_id=<my_app_id> AND metric='application_installed_users' AND period=period('lifetime')
此查询给出以下错误:
{
"error": {
"message": "You must specify a bounded date range using unix time stamps as constant values.",
"type": "NoIndexFunctionException",
"code": 604
}
}
所以我也试过:
SELECT metric, value FROM insights WHERE object_id=<my_app_id> AND metric='application_installed_users' AND end_time=0 AND period=period('lifetime')
whick 导致空数据。
调用“application_installed_users”的正确查询是什么?
干杯, Maciek