]> gitweb.factorcode.org Git - factor.git/commitdiff
twitter: Add home-timeline and home-timeline.
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 6 Feb 2014 04:32:44 +0000 (20:32 -0800)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 6 Feb 2014 04:33:12 +0000 (20:33 -0800)
extra/twitter/prettyprint/prettyprint.factor
extra/twitter/twitter.factor

index 00b3fcc15992450cff7173e289e2f4d3a4797ae3..99643fbdbe488c712aa96a7e9adec751efa7b9a1 100644 (file)
@@ -58,3 +58,4 @@ CONSTANT: tweet-metadata-style
 : 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 ;
index ecc59fbc8126043f1d0989c022839d3852f16f86..b0b354f89915d6acc34bb68c4cef6fe133d4c7d9 100644 (file)
@@ -166,3 +166,6 @@ PRIVATE>
 
 : user-timeline ( username -- tweets )
     "user_timeline/" prepend timeline ;
+
+: home-timeline ( -- tweets )
+    "home_timeline" timeline ;