【发布时间】:2014-12-04 14:05:59
【问题描述】:
我需要通过 PHP 获取推送收件人的数量。所以我试图“查询”安装(集合)但没有成功。任何提示或解决方法?我是 Parse.com 的新手,谢谢。
出现这个错误:
Parse\ParseException: 不允许客户端对安装集合执行查找操作。
这是我的代码
// Initialisation
require_once('parse_sdk/autoload.php');
Parse\ParseClient::initialize($ws_push_APPLICATION_ID, $ws_push_REST_API_KEY, $ws_push_MASTER_KEY);
$query = new Parse\ParseQuery("_Installation");
$results = $query->find();
有什么建议吗?
【问题讨论】:
-
谢谢,我添加了我的代码。
标签: php push-notification parse-platform