FBDialogs presentShareDialogWithParams成功但返回错误

Ter*_*nce 13 facebook ios

我试图用[FBDialogs presentShareDialogWithParams]一个故事发布到facebook.它起作用我看到了帖子,但我得到了一个奇怪的错误FBSDKLog.

FBSDKLog: Error Domain=com.facebook.sdk Code=5 "The operation couldn’t be completed. (com.facebook.sdk error 5.)" UserInfo=0x26958c0 {com.facebook.sdk:HTTPStatusCode=400, com.facebook.sdk:ParsedJSONResponseKey={
    body =     {
        error =         {
            code = 100;
            message = "(#100) The parameter 'custom_events' or 'custom_events_file' is required for the 'CUSTOM_APP_EVENTS' activity";
            type = OAuthException;
        };
    };
Run Code Online (Sandbox Code Playgroud)

这是什么意思?我试图寻找custom_events_filecustom_events无济于事.这是使用iOS facebook SDK 3.5

bev*_*nzo 2

我可以通过在 Facebook 内的应用程序控制台中禁用“Install Insights”和“Mobile SDK Insights”来消除此错误。自定义事件似乎与 Facebook 见解中的应用程序跟踪相关。