shrub/sur/twitter.hoon

17 lines
637 B
Plaintext
Raw Normal View History

2015-01-27 06:11:08 +03:00
|%
2015-12-20 00:00:01 +03:00
++ twit-do => twit {p+span q+command} :: user and action
++ twit-stat {id+@u who+@ta now+@da txt+@t} :: received tweet
2015-01-27 07:30:22 +03:00
++ twit
|%
++ keys :: twitter-key type
2015-12-20 00:00:01 +03:00
$: con+{tok+@t sec+@t} :: user key pair
acc+{tok+@t sec+@t} :: app key pair
2015-01-27 07:30:22 +03:00
==
::
++ command :: poke action
2015-12-20 00:00:01 +03:00
$% {$auth p+keys} :: set API keys
{$post p+@uvI q+cord} :: post a tweet
2015-01-27 07:30:22 +03:00
==
--
2015-01-27 06:11:08 +03:00
--