]> gitweb.factorcode.org Git - factor.git/commitdiff
twitter: Add mentions timeline.
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 13 Feb 2014 00:55:31 +0000 (16:55 -0800)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 13 Feb 2014 04:13:10 +0000 (20:13 -0800)
extra/twitter/prettyprint/prettyprint.factor
extra/twitter/twitter.factor

index 99643fbdbe488c712aa96a7e9adec751efa7b9a1..21b2426339e0d4018df5ea700862478092303b55 100644 (file)
@@ -55,7 +55,8 @@ CONSTANT: tweet-metadata-style
     ] tabular-output nl
     drop ;
 
-: friends-timeline. ( -- )      friends-timeline [ tweet. ] each ;
-: public-timeline.  ( -- )      public-timeline  [ tweet. ] each ;
-: user-timeline.    ( user -- ) user-timeline    [ tweet. ] each ;
-: home-timeline.    ( -- )      home-timeline    [ tweet. ] each ;
+: friends-timeline.  ( -- )      friends-timeline  [ tweet. ] each ;
+: public-timeline.   ( -- )      public-timeline   [ tweet. ] each ;
+: user-timeline.     ( user -- ) user-timeline     [ tweet. ] each ;
+: home-timeline.     ( -- )      home-timeline     [ tweet. ] each ;
+: mentions-timeline. ( -- )      mentions-timeline [ tweet. ] each ;
index b0b354f89915d6acc34bb68c4cef6fe133d4c7d9..e11e92498acd9679991ff83c54659da9b84f02e3 100644 (file)
@@ -169,3 +169,6 @@ PRIVATE>
 
 : home-timeline ( -- tweets )
     "home_timeline" timeline ;
+
+: mentions-timeline ( -- tweets )
+    "mentions_timeline" timeline ;