Upload
balint-erdi
View
256
Download
1
Embed Size (px)
Citation preview
TwuckooTwitter + Cuckoo
Honnan jött?
Oblique Strategies
"What is the sound of one sound clapping?""Perhaps your mistake was not such a mistake after all"
Az Oblique Strategies deck már nem volt elérhető -> akkor csinálok egyet!
Mi az amiből minden nap megkapom az adagomat és csatornaként funkcionál? -> twitter!
Mit kell tudnia?
Kiolvas egy file-ból egy oblique strategy-t (egy sort)Kitweeteli egy megfelelő csatornáraFigyel rá, hogy ugyanazt ne tweetelje többször.
Mit csinál?
def run setup load_tweets loop do tweeted = tweet quit if tweeted.nil? relax end end
húde moduláris
Egyszerű API:
load_tweetsnextstore(tweet)
Modulok
1. One line from file példa: http://twitter.com/daily_oblique
2. Wikipedia TFA (Today's Featured Article) példa: http://twitter.com/wikipedia_tfa
3. Időjárás jelentés? példa: készül
n. <a te világmegváltó ötleted>
Referenciák, kontakt
Kód: http://github.com/balinterdi/twuckoo/Daily Oblique: http://twitter.com/daily_obliqueWikipedia TFA: http://twitter.com/wikipedia_tfa
twitter: http://twitter.com/baazblog: http://bucionrails.comemail: [email protected]