Browse Source

Go through favorites instead

master
Julio Biason 6 years ago
parent
commit
801c4aa216
  1. 10
      src/main.rs

10
src/main.rs

@ -8,10 +8,10 @@ fn main() {
.unwrap(); .unwrap();
let client = cli::authenticate(registration).unwrap(); let client = cli::authenticate(registration).unwrap();
println!("{:?}", client client
.get_home_timeline().unwrap() .favourites().unwrap()
.items_iter() .items_iter()
.take(100) .take(2)
.collect::<Vec<_>>() .for_each(move |record| println!("{:#?}", record))
); ;
} }

Loading…
Cancel
Save