I use tweepy to set up a script that finds the last mention of my username. From this I want to get the tweet text and Twitter username. However, I seem to be unable to get the actual username, but only its number. Any suggestions?
Below is my code. Question marks are where I need the correct syntax:
myMentions = tweepy.Cursor (api.mentions).items(1) for mention in myMentions: statusText = mention.text statusUser = mention.????
Thank you very much!
source share