urbit/sur/twitter.hoon
2016-01-30 19:37:03 -08:00

17 lines
637 B
Plaintext

|%
++ twit-do => twit {p/knot q/command} :: user and action
++ twit-stat {id/@u who/@ta now/@da txt/@t} :: received tweet
++ twit
|%
++ keys :: twitter-key type
$: con/{tok/@t sec/@t} :: user key pair
acc/{tok/@t sec/@t} :: app key pair
==
::
++ command :: poke action
$% {$auth p/keys} :: set API keys
{$post p/@uvI q/cord} :: post a tweet
==
--
--