abraham/twitteroauth 用 PHP 回复一条特定的推文 [英] abraham/twitteroauth reply to a perticular tweet in PHP

查看:25
本文介绍了abraham/twitteroauth 用 PHP 回复一条特定的推文的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是全新的,标题说明了一切..我想使用 abraham/twitteroauth 库为 twitter 回复推文.. twitte 的更新工作正常,但我无法回复.我正在这样做..

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));

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

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

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

此代码还使用 $dataa 变量中的值更新帐户,但不回复 $id 中定义的推文

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

推荐答案

yap .更新帖子时我这边出错了..阅读api文档后..我发现如果没有@username标志给特定用户它不会出现在他的回复部分..

yap . there was mistake from my side while updating the post .. after reading api document .. i found that without @username sign to perticular user it won't appear in his reply section ..

这篇关于abraham/twitteroauth 用 PHP 回复一条特定的推文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆