I Tweets posting but I used STTweeter to show EXC_BAD_ACESS error and error STTwitterTwitter ErrorDomain code show 220
< p> my code - setOAuthToken (zero) : (NSString *) token oauthVerifier: (NSString *) verifier user {// case just authenticated WebViewVC through [self dismissViewControllerAnimated: Yes completion: ^ {//}]; [PostAccessTokenRequestWithPIN _twitter: Verifier successBlock: ^ (NSString * oauthToken, NSString * oauthTokenSecret, NSString * userID, NSString * screenname) {NSLog (@ "- screenname:% @", screenname); Selfktvitr = [Stvitrpi Tvitrpiapponlivitconsumerkey: _konsumerketekstfildktekst Konsumersekret: _konsumersekretekstfildktekst]; [VerifyCredentialsWithSuccessBlock _twitter: ^ (NSString * username) {[postStatusUpdate _twitter: @ "View Text" inReplyToStatusID: Zero Latitude Longitude Zero: Zero PlaceID: DisplayCoordinates zero: trimUser zero: zero SuccessBlock zero errorBlock: zero]; NSLog (@ "Success"); } ErrorBlock: ^ (NSError * error) {NSLog (@ "_____ Error ____% @", error); }]; _loginStatusLabel.text = screenName; } ErrorBlock: ^ (NSError * error) {_loginStatusLabel.text = [Error localized description]; NSLog (@ "-% @", [Error localization]]; }]; }
No comments:
Post a Comment