我尝试使用 [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;
};
};
这是什么意思?我尝试寻找 custom_events_file
和 custom_events
但无济于事。这是使用 iOS facebook SDK 3.5
最佳答案
我能够通过在 Facebook 的应用程序控制台中禁用“Install Insights”和“Mobile SDK Insights”来消除此错误。自定义事件似乎与 Facebook 洞察中的应用跟踪有关。
关于ios - FBDialogs presentShareDialogWithParams 成功但返回错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17720463/