트윗은 아직 트위터에 올리지 않았습니다. tweet.favorited
false를 반환 어떤 경우에는tweet.favorited false tweepy 심지어 트윗이 선호됩니다
try:
tweets = api.user_timeline(screen_name = handleSubmit,count=retweetCount)
for tweet in tweets:
if not tweet.favorited:
print tweet
api.create_favorite(tweet.id)
if not tweet.retweeted:
api.retweet(tweet.id)
except Exception as e:
raise e
그러나이, 트윗가 이미 즐겨 찾기 경우에도 다음과 같은 오류로 이어지는 :
[{u'message': u'You have already favorited this status.', u'code': 139}]
내가 잘못 여기서 뭐하는 거지 같은, 나는 다음과 같은 썼다?