mirror of
https://github.com/urbit/shrub.git
synced 2024-12-11 23:48:22 +03:00
31 lines
590 B
Plaintext
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))
|
|
==
|
|
--
|
|
--
|