def _get_lowest_id(tweets):
    """Return the lowest (i.e. least recent) id from a collection of tweets"""
    lowest_id = None
    for tweet in tweets:
        tweet_id = tweet.get('id')
        if lowest_id is None or tweet_id < lowest_id:
            lowest_id = tweet_id
    return lowest_id