I’m having an issue getting in_reply_to_status_id to work currently. I’ve also tried the same code with in_reply_to_status_id_str and there is no difference.
My code is as follows:
$parameters = array(‘status’ => $enteredTweet, ‘in_reply_to_status_id’ => $enteredTweetID);
$status = $connection->post(‘statuses/update’, $parameters);
The result is that I post a tweet which has a null value for in_reply_to_status_id, but has the correct values for: in_reply_to_user_id, in_reply_to_screen_name, and in_reply_to_user_id_str.
Also, all of my $enteredTweet values begin with the @name of the sender of the original tweet I am trying to respond to. Is there a certain way this text must be formatted, or does it need any parameters? For example I am passing an $enteredTweet of “@scottluptowski hello” as a string value.