Google搜索后我得到了一个API,
这是链接发送推文
如何使用这个api
我应该安装任何东西,
这个api的程序是什么,
使用此OAuth库: http : //github.com/abraham/twitteroauth
$parameters = array('status' => date('Hi'));
$status = $connection->post('statuses/update', $parameters);
这是Twitter OAuth库中的post to wall方法,您需要首先使用OAuth进行身份验证,上述下载的示例部分中提供了代码。