Error Http Status Code 400 Facebook Ios
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 this site About Us Learn more about Stack http status code 400 . verify that the exchange mailbox server is working correctly Overflow the company Business Learn more about hiring developers or posting ads with us
Http Status Code 400 Returned By The Server
Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a http status code 400 reason request uri is too long community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Facebook iOS SDK 3.1: “Error: HTTP status code: 400” up vote 17 down vote favorite
Http Status Code 404
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 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 403 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! share|improve this answer answered Oct 5 '12 at 3:21 Jason Clark 1,35368 7 I'm still seeing this in 3.1. It occurs the first time the app requests permissions (if I've deleted the FB app from the list of authorized apps in my settings). Subsequent requests
here for a quick overview of the site Help Center Detailed answers
Http Status Code 411
to any questions you might have Meta Discuss the workings
Http Status Code 500
and policies of this site About Us Learn more about Stack Overflow the company Business what does error 400 mean Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the http://stackoverflow.com/questions/12594965/facebook-ios-sdk-3-1-error-http-status-code-400 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 Error: HTTP status code: 400 i am getting this while posting data on friend face book wall? up vote 0 down vote favorite http://stackoverflow.com/questions/15764518/error-http-status-code-400-i-am-getting-this-while-posting-data-on-friend-face I am selecting the my face book friends in my app i want to post some text data on my friends wall as i pressed the done button when i pressed the done button i am getting this this error.Error: HTTP status code: 400 hehe is my code - (void)facebookViewControllerDoneWasPressed:(id)sender { NSMutableString *text = [[NSMutableString alloc] init]; // we pick up the users from the selection, and create a string that we use to update the text view // at the bottom of the display; note that self.selection is a property inherited from our base class for (id
erreurs renvoyées par Facebook. Ce guide couvre les fonctionnalités proposées à cet effet dans le SDK Facebook https://developers.facebook.com/docs/ios/errors pour iOS.Recommandations généralesChaque FBSDK Kit définit un fichier FBSDK*Constants.h qui lui-même définit les codes d’erreur pertinents pour ce kit.Mais plus important encore, le SDK Facebook renseigne si possible toutes les clés définies dans le fichier FBSDKConstants.h du FBSDKCoreKit.framework, et plus précisément dans le dictionnaire http status userInfo de NSErrors.Vous ne devez afficher que des messages d’erreur localisés. La seule exception concerne les demandes de l’API Graph, qui utilisent le processus de reprise sur erreur automatique décrit ci-dessous.Gestion des erreurs et reprise sur erreurDepuis la version 4.0 du SDK, les objets d’erreur http status code et les informations sont maintenant plus faciles à extraire et interpréter. Par exemple :NSError - Le SDK renvoie ces objets pour les rappels de demande et ils sont plus simples à interpréterNSErrorRecoveryAttempting - Le SDK fournit les données dans NSError, qui s’avère plus facile à extraire et est conforme au protocole informel NSErrorRecoveryAttemptingLes objets NSError disposent de dictionnaires userInfo qui contiennent les clés suivantes : Erreur Description FBSDKErrorDeveloperMessageKeyMessage d’erreur à l’attention du développeurFBSDKErrorLocalizedDescriptionKeyMessage localisé à l’attention de l’utilisateur, si disponibleFBSDKErrorLocalizedTitleKeyTitre localisé à l’attention de l’utilisateur, si disponibleFBSDKGraphRequestErrorCategoryKeyÉnumération décrivant la catégorie d’erreur, telle que transitoire, récupérable ou autreFBSDKGraphRequestErrorGraphErrorCodeCode d’erreur de l’API GraphFBSDKGraphRequestErrorErrorSubcodeSous-code d’erreur de l’API GraphFBSDKGraphRequestErrorHTTPStatusCodeKeyCode de statut HTTP renvoyé par l’API GraphFBSDKGraphRequestErrorParsedJSONResponseKeyRéponse JSON brute de l’API GraphLes instances NSError peuvent également contenir des données conformes au protocole informel NSErrorRecoveryAttempting. Si la catégorie d’erreur (FBSDKGraphRequestErrorCategoryKey)