PRADHAN-P / php-twitter

Automatically exported from code.google.com/p/php-twitter
0 stars 0 forks source link

Friends timeline isn't fully deprecated #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The only part of the friends_timeline API call that was deprecated was the 
version which requests someone else's timeline. Asking for your own 
timeline is still perfectly fine. Please can you add this back in?

Deprecated:
$request = 'http://twitter.com/statuses/friends_timeline/' . urlencode($id) 
. '.' . $this->type . $qs;

Still Good:
$request = 'http://twitter.com/statuses/friends_timeline.' . $this->type . 
$qs;

Original issue reported on code.google.com by david.carrington on 19 Sep 2008 at 11:07

GoogleCodeExporter commented 9 years ago
I'm updating the library right now. Will look at this this weekend. Feel free 
to create a patch and submit back. 
You'll get props.

Original comment by emmenset...@gmail.com on 28 Feb 2009 at 1:17

GoogleCodeExporter commented 9 years ago
This is invalid. The request for friends_timeline is a wrapper around 
user_timeline
with self ID passed.

Original comment by emmenset...@gmail.com on 28 Feb 2009 at 2:11

GoogleCodeExporter commented 9 years ago

Original comment by emmenset...@gmail.com on 28 Feb 2009 at 2:11

GoogleCodeExporter commented 9 years ago
There's a reason for them being different API methods:

friends_timeline is about showing *your friends' updates*.
user_timeline is for showing one user's updates.

Original comment by david.carrington on 28 Feb 2009 at 2:22