开发者

Twitter class by Tijs Verkoyen

I am trying to use this class http://classes.verkoyen.eu/twitter/ to update status on twitter, but I am getting this error:

/statuses/update.xml Could n开发者_开发百科ot authenticate you.

My code is just the following, I am using the latest version of the class (1.0.5)

<?php
include "twitter.php";
$twit = new Twitter("username","password");
$twit->updateStatus("Testing");
?>


Have you tried disabling safe_mode in your php.ini file?

safe_mode off
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜