Facebook iOS SDK 3.1:“错误:HTTP状态代码:400” [英] Facebook iOS SDK 3.1: "Error: HTTP status code: 400"
问题描述
错误:HTTP状态代码:400
当我打印出错误时,我进入了FB代码并打印了回复,我得到:
{
body = {
error = {
code = 100;
message =(#100)'mobile_app_install'活动需要参数'归因';
type = OAuthException;
};
};
code = 400;
}
有谁知道如何解决这个问题?所有功能似乎都可以正常工作,但是我一直看到这个垃圾邮件我的控制台。
这个错误反映了服务器上的一个错误,在3.1版本发布后不久就修复了。在这一点上,应该没有更多的失败来自这个请求。希望这有帮助!
I am running the Facebook SDK 3.1 on Xcode 4.5GM with iOS6 simulator. I connect to FB in the iOS settings and successfully FB connect in my app using the new iOS6 FBConnect UI. I have an access token, can see my friends, send app requests, post to my wall, etc. However, every time I initiate any sort of FBURLConnection is made, I see this printed to my console:
Error: HTTP status code: 400
I went into the FB code and printed the reponse when this error is printed and I get:
{
body = {
error = {
code = 100;
message = "(#100) The parameter 'attribution' is required for the 'mobile_app_install' activity";
type = OAuthException;
};
};
code = 400;
}
Does anyone know how to resolve this? All functionality seems to work, but I keep seeing this spam my console.
This error reflected a bug on the server, which was fixed shortly after the 3.1 release was published. At this point there should be no more failures coming from this request. Hope this helps!
这篇关于Facebook iOS SDK 3.1:“错误:HTTP状态代码:400”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!