Function egg_mode::tweet::lookup [] [src]

pub fn lookup<'a, I: IntoIterator<Item = u64>>(
    ids: I,
    token: &Token,
    handle: &'a Handle
) -> FutureResponse<'a, Vec<Tweet>>

Lookup tweet information for the given list of tweet IDs.

This function differs from lookup_map in how it handles protected or nonexistent tweets. lookup gives a Vec of just the tweets it could load, leaving out any that it couldn't find.