Skip to content

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

Description

@ankurp-munchado

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."}]}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions