[twitter-dev] Re: easiest way to get a text file of tweets

2009-04-16 Thread Bill
THANKS Peter! It works! On Apr 16, 12:12 pm, Peter Denton petermden...@gmail.com wrote: and you could bump up the while loop to 15, to get 1500 results, like... while ($page_num = 15 ) notivce in the search URL rpp=100 (results per page) and page=$page_num (pagination), so you can get 1500

[twitter-dev] Re: easiest way to get a text file of tweets

2009-04-15 Thread Bill Claster
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/1df7a2d9898d93e4# On Wed, Apr 15, 2009 at 9:14 PM, Bill william...@gmail.com wrote: Hi. Can any suggest the easiest way to get a text file of say 2000 tweets that contain the word 'Japan' in them? Thanks. --

[twitter-dev] Re: easiest way to get a text file of tweets

2009-04-15 Thread Abraham Williams
Not quite what you are looking but http://tweetbook.in/oauth lets you export to pdf. On Wed, Apr 15, 2009 at 07:14, Bill william...@gmail.com wrote: Hi. Can any suggest the easiest way to get a text file of say 2000 tweets that contain the word 'Japan' in them? Thanks. -- Abraham

[twitter-dev] Re: easiest way to get a text file of tweets

2009-04-15 Thread Bill
Hi Thanks very much. Actually though it seems that they only can make a pdf with my own tweets. I was hoping to get just tweets that contain the word 'japan' but thanks anyway. On Apr 15, 9:58 pm, Abraham Williams 4bra...@gmail.com wrote: Not quite what you are looking

[twitter-dev] Re: easiest way to get a text file of tweets

2009-04-15 Thread Matt Sanford
You could use http://search.twitter.com/search.atom?q=japan and a small bit of scripting. Look in those results for a link rel=next for the next page. That will let you page your way back to ~1500 tweets. Thanks; — Matt Sanford / @mzsanford On Apr 15, 2009, at 06:14 AM, Bill wrote: Hi

[twitter-dev] Re: easiest way to get a text file of tweets

2009-04-15 Thread Bill
Hi. Thanks again. I see: link type=application/atom+xml rel=next href=http:// search.twitter.com/search.atom? max_id=1529989226amp;page=2amp;q=japan/ but how do I change that and what do I change it to in the url: http://search.twitter.com/search.atom?q=japan is there some part of the url

[twitter-dev] Re: easiest way to get a text file of tweets

2009-04-15 Thread Peter Denton
?php $page_num = 1; $txtString = ; while ($page_num = 2 ) { $host = http://search.twitter.com/search.atom?q=japanmax_id=1529989226rpp=100page=$page_num ; $result = file_get_contents($host); $xml = new SimpleXMLElement($result); foreach