title: Get tweet url or tweet id using tweepy
body: <p>So as the question suggests I'm trying to figure out how to get either the tweet id # or the whole url. Using the code below I can get the tweet(s) i want and print them out. However instead of printing them I want to get either the url or at least the tweet id (so that I can make my own url) that I can use in my code later down the line. Any advice? not seeing anything in the tweepy docs about this but perhaps there is something i'm missing or something else I can use to achieve this? </p>
  
  <pre><code>import tweepy
  
  # Authenticate to Twitter
  auth = tweepy.OAuthHandler("*******", "*****")
  auth.set_access_token("******", "*****")
  api = tweepy.API(auth)
  
  # Function to extract tweets 
  def get_tweets(username): 
  
          tweets = api.user_timeline(screen_name=username,count = 1) 
  
          tmp=[]
  
          tweets_for_csv = [tweet.text for tweet in tweets]
          for t in tweets_for_csv:
              tmp.append(t)
          print(tmp)
  
  
  
  if __name__ == '__main__':
      get_tweets("@username")
  </code></pre>
  
  <p>This code works fine just trying to learn what I would add to get the desired data. </p>