diff --git a/src/main.rs b/src/main.rs index 307918e..87b750b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,10 +8,10 @@ fn main() { .unwrap(); let client = cli::authenticate(registration).unwrap(); - println!("{:?}", client - .get_home_timeline().unwrap() - .items_iter() - .take(100) - .collect::>() - ); + client + .favourites().unwrap() + .items_iter() + .take(2) + .for_each(move |record| println!("{:#?}", record)) + ; }