0

Hi i am totally new here and title says it all .. i want to reply to a tweet using abraham/twitteroauth library for twitter .. update for the twitte is working fine but i am unable to do reply thing . I am doing this ..

$status = $connection->post('statuses/update', array("status" => $dataa, "in_reply_to_status_id" =>$id));

twitteroauth_row('statuses/update', $status, $connection->http_code, $parameters);

this code also updates the account with value in $dataa variable but do not reply to the tweet defined in $id

Please help . Sorry for my bad english .This is my first post. Thanks

4

2 回答 2

1

是的。我在更新帖子时出现了错误..在阅读了api文档之后..我发现如果没有@username对特定用户的签名,它就不会出现在他的回复部分..

于 2013-08-14T18:23:59.390 回答
0

hamdoulilah 解决方案非常简单

您只需为要重播的人添加@username

$status_id = '480775609728385024';

$twitt_reply = '@username the replay text';


$responce = $connection->post('statuses/update', array('in_reply_to_status_id'=> $status_id , 'status' => $twitt_reply ));
于 2014-06-23T14:37:21.580 回答