开发者

Twitter class by Tijs Verkoyen

开发者 https://www.devze.com 2022-12-25 17:54 出处:网络
I am trying to use this class http://classes.verkoyen.eu/twitter/ to update status on twitter, but I am getting this error:

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

精彩评论

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