FHSTwitterEngine icon indicating copy to clipboard operation
FHSTwitterEngine copied to clipboard

postTweet: returning the wrong error for {code: 187, message: "Status is a duplicate."}

Open ankurp-munchado opened this issue 8 years ago • 3 comments

Code: NSError *twitterError = [[FHSTwitterEngine sharedEngine] postTweet:tweetStr];

Error: Error Domain=FHSErrorDomain Code=204 "The request did not return any content." UserInfo={NSLocalizedDescription=The request did not return any content.}

Looked into the data variable in - (id)sendRequest:(NSURLRequest *)request and found that actual error was {"errors":[{"code":187,"message":"Status is a duplicate."}]}

ankurp-munchado avatar Dec 14 '16 12:12 ankurp-munchado

will check it out, thanks

dkhamsing avatar Dec 14 '16 15:12 dkhamsing

Thanks! Waiting for the solution.

ankurp-munchado avatar Dec 15 '16 05:12 ankurp-munchado

@ankurp-munchado we have another issue #128 where post tweet sends a different error can you confirm?

dkhamsing avatar Jan 17 '17 18:01 dkhamsing