Facebook Graph Places-移动平台上的当前位置请求错误

时间:2019-05-08 22:31:26

标签: android ios facebook facebook-graph-api

我已经成功构建并运行了iOS和Android上的Places SDK示例(位于here)。当我尝试将App ID和Client令牌更改为我的应用程序时,我可以成功搜索位置,但是调用检索当前位置的操作失败,并显示以下错误:

Error Domain=com.facebook.sdk.core Code=8 "(null)" UserInfo={com.facebook.sdk:FBSDKGraphRequestErrorCategoryKey=0, com.facebook.sdk:FBSDKGraphRequestErrorGraphErrorSubcode=33, com.facebook.sdk:FBSDKErrorDeveloperMessageKey=Unsupported get request. Object with ID 'current_place' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api, com.facebook.sdk:FBSDKGraphRequestErrorGraphErrorCode=100, com.facebook.sdk:FBSDKGraphRequestErrorHTTPStatusCodeKey=400, com.facebook.sdk:FBSDKGraphRequestErrorParsedJSONResponseKey={
body =     {
    "__debug__" =         {
        messages =             (
                            {
                link = "https://developers.facebook.com/docs/apps/versions/";
                message = "The app tried to call version v3.2. This app can only call versions v3.3 and higher, so the request defaulted to version v3.3.";
                type = warning;
            }
        );
    };
    error =         {
        code = 100;
        "error_subcode" = 33;
        "fbtrace_id" = Hm5kOBcTlbN;
        message = "Unsupported get request. Object with ID 'current_place' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api";
        type = GraphMethodException;
    };
};
code = 400;
}
}

似乎我的facebook应用可能缺少权限,但是文档中未指定任何权限。

我的Facebook应用程序应具有特定的权限吗?还有其他我想念的东西吗?

0 个答案:

没有答案