urbit/mar/twit/feed.hoon
2016-03-31 16:15:10 -07:00

31 lines
590 B
Plaintext

:: Twitter statuses
::
:::: /hoon/feed/twit/mar
::
/- talk
/+ twitter, httr-to-json
|_ fed/(list post:twitter)
++ grab
|%
++ noun (list post:twitter)
++ json (corl need (ar:jo post:parse:twitter))
++ httr (cork httr-to-json json) :: XX mark translation
--
++ grow
|%
++ tank >[fed]<
++ talk-speeches
=+ r=render:twitter
%+ turn fed
|= a/post:twitter ^- speech:talk
:* %api %twitter
who.a
(user-url.r who.a)
txt.a
txt.a
(post-url.r who.a id.a)
(joba now+(jode now.a))
==
--
--