Error code 38 - "id parameter is missing."


#1

I am using following code in my iOS app, to favourite a tweet by particular tweet id.

+ (void)favTweetForUser:(NSString *)tweet_id withAccount:(ACAccount*)twitterAccounts andCompletion:(resultCompletion)completion
{
    NSURL *url = [NSURL URLWithString:@"https://api.twitter.com/1.1/favorites/create.json"];
    NSNumber * myNumber =[NSNumber numberWithLongLong:[tweet_id longLongValue]];
    NSDictionary *params = @{@"id" : myNumber};

    [self postRequestWithAcc:twitterAccounts param:params url:url andCompletion:completion];
}

I am getting following response from twitter

{
errors = (
{
code = 38;
message = “id parameter is missing.”;
}
);
}

I am not understanding this error, I am passing “id” parameter, but still getting that error, please suggest me changes to work it