Hi Torsten, I just developed this about 2 hours ago. You've already testing it. Cool! Release early is the motto of Rework, so i'm doing this. If you look at: http://search.twitter.com/api/ the q param thats being used is: Find tweets *containing a word*: so maybe thats why if you search on pharo you're also gettin results from other things mentioning pharo? And I now just noticed that some further in that paragraph I can query on a hashtag! I'll adapt it right now:-) Kind regards, Bart On Tue, Nov 2, 2010 at 9:17 PM, Torsten Bergmann <astares@gmx.de> wrote:
First load:
------------------------------------------------------------------------- Gofer new renggli: 'omnibrowser'; package: 'JSON'; load. -------------------------------------------------------------------------
then evaluate:
------------------------------------------------------------------------- |hashToFollow json root subs| hashToFollow := 'pharo'. json := Json readFrom: (' http://search.twitter.com/search.json?rpp=50&result_type=recent&lang=all&q=', hashToFollow) asUrl retrieveContents contentStream. subs := json results collect: [:each | HelpTopic title: (each at: 'created_at' ifAbsent: '') contents: (each at: 'text' ifAbsent: '') ]. root := HelpTopic named: 'Pharo on Twitter'. root subtopics: subs. HelpBrowser openOn: root -------------------------------------------------------------------------
gives mixed results (not all related to pharo project)
If I try hashToFollow := 'pharoproject' it returns nothing while the twitter channel is accessible at http://twitter.com/pharoproject ?
Anyone know the correct hashToFollow for Pharo project only contents?
Thx T.
-- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
-- imagination is more important than knowledge - Albert Einstein Logic will get you from A to B. Imagination will take you everywhere - Albert Einstein Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Albert Einstein The true sign of intelligence is not knowledge but imagination. - Albert Einstein However beautiful the strategy, you should occasionally look at the results. - Sir Winston Churchill It's not enough that we do our best; sometimes we have to do what's required. - Sir Winston Churchill