def retrieve_tweet(api_object):
    """Used to get a tweet object from authorized
    api object.

    Inputs
    ------
    Tweepy api object
    Returns
    -------
    Tweepy tweet object in extended mode.
    """
    tweet_url = input("Enter the URL of the tweet you would like analyzed.\n")
    tweet_id = tweet_url.split("/status/")[1]
    return api_object.get_status(tweet_id, tweet_mode="extended")