Function tweet::print_profile [] [src]

pub fn print_profile(screen_name: &str,
                     num: u8,
                     show_ids: bool,
                     api_key: Token,
                     token: Token)

Display profile for a given user. Takes screen name and number of tweets to return as parameters. Boolean argument is whether to print out user ids.

Note that Twitter's API allow for a maximum of 3200 tweets at a time by this method.

Examples

print_profile(realDonaldTrump, 100, false, API_KEY, TOKEN);