Error Http Status Code 400 Facebook Iphone
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of http status code 400 . verify that the exchange mailbox server is working correctly this site About Us Learn more about Stack Overflow the company Business Learn http status code 400 returned by the server more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question http status code 400 reason request uri is too long x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up
Http Status Code 404
Facebook iOS SDK 3.1: “Error: HTTP status code: 400” up vote 17 down vote favorite 6 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 http status code 403 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. ios facebook facebook-graph-api facebook-ios-sdk share|improve this question edited Sep 26 '12 at 5:33 asked Sep 26 '12 at 5:16 stipe108 1,20511216 I can't even connect properly. I've even followed the guide at: developers.facebook.com/docs/tutorial/iossdk/… –Joakim Engstrom Sep 26 '12 at 16:23 add a comment| 6 Answers 6 active oldest votes up vote -2 down vote accepted 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! sha
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more http status code 411 about Stack Overflow the company Business Learn more about hiring developers or posting ads
Http Status Code 500
with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow
What Does Error 400 Mean
is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Facebook SDK 3.1 - Error: HTTP status code: 400 up vote 6 down http://stackoverflow.com/questions/12594965/facebook-ios-sdk-3-1-error-http-status-code-400 vote favorite 1 I am getting the following error ("Error: HTTP status code: 400") now that I have updated to facebook SDK 3.1 as of yesterday, 10/9. But everything is completely functional as far as connecting with facebook, I just see this error message every time I start a facebook session on my app. I have seen a few people commenting on this, but I can't determine from them http://stackoverflow.com/questions/12805743/facebook-sdk-3-1-error-http-status-code-400 if this is going to be a real problem or not. Does anyone know definitively if this is going to cause a problem? And if so, how to fix it? Thanks! facebook-graph-api facebook-ios-sdk share|improve this question asked Oct 9 '12 at 18:00 user1697845 2,08263571 I had that error on and off in the past 2 weeks (sept/oct 2012) if you get a detailed error description you'll see it's an OAuth error most of the times, invalid request, "Unsupported get request", everything seem to indicate it's a FB problem, since the same code works well at random times without changing any parameters or user settings and maintaining the same user logged in. –Dado Oct 9 '12 at 22:58 thanks, that's why I was thinking too –user1697845 Oct 11 '12 at 20:53 We have a bug report for this here(developers.facebook.com/bugs/115149961972168). It was an error on the server side which was fixed shortly after the 3.1 release of the SDK. This should no longer repro as per the discussion in the bug report. –Shireesh Asthana Oct 15 '12 at 20:24 add a comment| 1 Answer 1 active oldest votes up vote 6 down vote accepted The original issue was resolved by Facebook just af
in the Facebook SDK for iOS which https://developers.facebook.com/docs/ios/errors help you do this.General Best Practices Each FBSDK Kit defines a FBSDK*Constants.h file which defines error codes relevant to that Kit. More importantly, the Facebook SDK populates keys defined in FBSDKConstants.h in FBSDKCoreKit.framework in the userInfo dictionary of NSErrors where possible. You should http status display only the localized messages as errors. One exception is Graph API requests that utilize the automatic error recovery described below.Error Handling and Recovery As of v4.0 of the SDK, error objects and information are now easier to extract and interpret. This includes: http status code NSError - The SDK returns these objects for request callbacks and they are easier to interpret NSErrorRecoveryAttempting - The SDK provides data in NSError which is easier to extract and conforms to the informal protocol NSErrorRecoveryAttempting NSError objects have userInfo dictionaries that contain the following keys: Error Description FBSDKErrorDeveloperMessageKeyAn error message for the developerFBSDKErrorLocalizedDescriptionKeyA localized user facing message, if availableFBSDKErrorLocalizedTitleKeyA localized user facing title, if availableFBSDKGraphRequestErrorCategoryKeyAn enum describing if the error category, such as transient, recoverable, otherFBSDKGraphRequestErrorGraphErrorCodeThe Graph API error codeFBSDKGraphRequestErrorErrorSubcodeThe Graph API error subcodeFBSDKGraphRequestErrorHTTPStatusCodeKeyThe HTTP status code returned by the Graph APIFBSDKGraphRequestErrorParsedJSONResponseKeyThe raw JSON response from the Graph APINSError instances may also contain data conforming to the informal protocol NSErrorRecoveryAttempting. If the category (FBSDKGraphRequestErrorCategoryKey) is transient or recoverable, the error userInfo contains: Error Description NSRecoveryAttempterErrorKeyA recovery a