danielpronych / python-twitter

Automatically exported from code.google.com/p/python-twitter
Apache License 2.0
0 stars 0 forks source link

retweets and home_timeline support [patch] #152

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
python-twitter doesn't support retweets and home_timeline.
This patch add 2 functions:
RetweetPost - for retweets some tweet
GetHomeTimeline - for getting home_timeline

Original issue reported on code.google.com by HkrXSun on 3 Aug 2010 at 6:25

Attachments:

GoogleCodeExporter commented 8 years ago
The first patch is obsolete, since the OAuth switch.

Proposing set of two new patches.

Original comment by edward.h...@gmail.com on 4 Feb 2011 at 4:47

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed patch for retweet support.

Original comment by edward.h...@gmail.com on 4 Feb 2011 at 8:14

Attachments:

GoogleCodeExporter commented 8 years ago
The contents of home_timeline are available by calling GetFriendsTimeline() and 
passing retweets=True

Original comment by bear42 on 20 Feb 2011 at 3:16

GoogleCodeExporter commented 8 years ago
> The contents of home_timeline are available by calling GetFriendsTimeline() 
and passing retweets=True

That's not true. You can compare these two timelines using twitter's console 
and see that they are different.

Also, home_timeline is a separate API method, so it is quite reasonable to have 
it in the library.

Original comment by edward.h...@gmail.com on 20 Feb 2011 at 3:30

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I agree with Edward and have already integrated his patch into my fork of this 
lib: http://github.com/jaytaylor/python-twitter-api

Cheers

Original comment by outtat...@gmail.com on 20 Feb 2011 at 7:11

GoogleCodeExporter commented 8 years ago

Original comment by bear42 on 20 Feb 2011 at 10:14