Hello,

I'm using twitter.lib.php class which is great. However, I can't seem
to pass on options to the functions that I'm calling. In this case,
I'd like to change the count of the friends' statuses to 50. But it
still is showing me only 20.

What am I missing? Any help greatly appreciated.

Thanks!


// require the twitter library
require "twitter.lib.php";

// your twitter username and password
$username = "username";
$password = "passwor";

// initialize the twitter class
$twitter = new Twitter($username, $password);

// fetch your @mentions in json
$statuses = $twitter->getFriendsTimeline(array('count'=>50), 'rss');

// print rss

echo $statuses;

Reply via email to