Open GoogleCodeExporter opened 9 years ago
*also the order of the parameters should follow the same order as userTimeline
- if
for no other reason then consistency. The below code retrieves the correct
data.
function friendsTimeline( $id = false, $count = 20, $since = false, $since_id =
false, $page = false )
{
if( !in_array( $this->type, array( 'xml','json','rss','atom' ) ) )
return false;
$args = array();
if( $id )
$args['id'] = $id;
if( $count )
$args['count'] = (int) $count;
if( $since )
$args['since'] = (string) $since;
if( $since_id )
$args['since_id'] = (int) $since_id;
if( $page )
$args['page'] = (int) $page;
$qs = '';
if( !empty( $args ) )
$qs = $this->_glue( $args );
if( $id === false )
$request = 'http://twitter.com/statuses/friends_timeline.' . $this->type
. $qs;
else
$request = 'http://twitter.com/statuses/friends_timeline/' .
rawurlencode($id) . '.' . $this->type . $qs;
return $this->objectify( $this->process($request) );
}
Original comment by john...@gmail.com
on 28 Aug 2009 at 4:16
I tried this new method friendsTimeline and works really fine. You should
update the
library version.
Original comment by marconip...@gmail.com
on 30 Sep 2009 at 3:52
Agreed - I just did the same thing myself, then came here to file a report and
found
exactly the same fixed suggested 5 weeks ago.
Original comment by wabznas...@gmail.com
on 10 Oct 2009 at 3:49
Original issue reported on code.google.com by
john...@gmail.com
on 28 Aug 2009 at 4:11