";已安装”;字段未被Facebook API返回


"installed" field not being returned by Facebook API

当使用他们的PHP SDK调用Facebook API时,我无法获得"已安装"的值。

这是我正在使用的代码:

$apiresult = $facebook->api("/$currentUserFbId/friends?fields=id,name,installed,picture");
//print_r reveals that only id, name, and picture exist in the returned object
print_r($apiresult);

有其他人遇到过这个问题吗?是否已安装不支持longer

installed字段只有在为true时才返回。我想你的朋友都没有安装这个应用程序。