On Mon, Aug 1, 2011 at 8:07 PM, Ershad K <[email protected]> wrote:

> On Monday 01 August 2011 07:50 PM, Narendra Sisodiya wrote:
>
>> On Mon, Aug 1, 2011 at 7:31 PM, Narendra Sisodiya<
>> [email protected]>  wrote:
>>
>>
>>>
>>> @Nilesh -
>>> This is a old script... do not know how to fetch RSS of a perticular time
>>> period
>>>
>>>
>> https://dev.twitter.com/docs/**api/1/get/statuses/user_**timeline<https://dev.twitter.com/docs/api/1/get/statuses/user_timeline>
>>
>> This 
>> https://dev.twitter.com/docs/**api/1/get/statuses/user_**timeline<https://dev.twitter.com/docs/api/1/get/statuses/user_timeline>support
>> count parameter. We need a database where we need to store total number of
>> Tweets every day for a user and then we can fine exact number of Tweets
>> which need to be fetched...
>>
>> Example, my last 4 Tweets
>> http://api.twitter.com/1/**statuses/user_timeline.xml?**
>> include_entities=true&include_**rts=true&screen_name=**nsisodiya&count=4<http://api.twitter.com/1/statuses/user_timeline.xml?include_entities=true&include_rts=true&screen_name=nsisodiya&count=4>
>>
>>
> We can use tweepy module to fetch tweets, right? I've written small similar
> applications, please see:-
>
> A sample script with tweepy module:
> http://ershadk.wordpress.com/**2011/03/12/the-little-twitter-**
> client-i-use/<http://ershadk.wordpress.com/2011/03/12/the-little-twitter-client-i-use/>
>
> This one is outdated(doesn't use OAuth), but has got a way to keep all
> tweets:
> http://ershadk.wordpress.com/**2010/06/05/python-script-to-**
> backup-tweets/<http://ershadk.wordpress.com/2010/06/05/python-script-to-backup-tweets/>
>
> I'm also interested in working in the back-end of project.



Here is the initial prototype..

https://gist.github.com/1118478

Algo :
     read user from a file
     get Total number of tweets of a user Ex - 2345
     get "last number" of tweet of that user from file Ek - 2340
     diff new - old ; 5
     store total number of tweets as "last number" in a file
     get rss feed

TODO
     merge and remove duplicate links..
    other task...

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to