-
Notifications
You must be signed in to change notification settings - Fork 48
Question: 1.1.1 Finding retweets #4
Copy link
Copy link
Open
Description
I'm having trouble with Question 1.1.1 Finding retweets. We are supposed to analyze our own timeline. I created a twitter account for this assignment. I tweeted 10 numbers. I re-tweeted my own tweets. My code is not picking up my re-tweets. I go back up and run the code beginning with:
top_ten = []
i =0
for tweet in tweepy.Cursor(api.home_timeline,tweet_mode='extended').items(10):
top_ten.append(tweet._json)
and continue with my own code:
tweet4=top_ten[0]
'retweeted_status' in tweet4
where I cycle through my tweets (by changing the index) and none of them return "True" for being re-tweeted. Does anyone have any ideas about what I am doing wrong?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels