printNicely(red('A name should begin with a \'@\''))
+def view_my_tweets():
+ """
+ Display user's recent tweets.
+ """
+ t = Twitter(auth=authen())
+ try:
+ num = int(g['stuff'])
+ except:
+ num = c['HOME_TWEET_NUM']
+ for tweet in reversed(
+ t.statuses.user_timeline(count=num, screen_name=g['original_name'])):
+ draw(t=tweet)
+ printNicely('')
+
+
def search():
"""
Search
usage += s * 2 + \
light_green('share 12 ') + ' will get the direct link of the tweet with ' + \
light_yellow('[id=12]') + '.\n'
+ usage += s * 2 + \
+ light_green('mytw 2 ') + ' will show your last two tweets.\n'
usage += s * 2 + \
light_green('del 12 ') + ' will delete tweet with ' + \
light_yellow('[id=12]') + '.\n'
't',
'rt',
'quote',
+ 'mytw',
'allrt',
'conversation',
'fav',
tweet,
retweet,
quote,
+ view_my_tweets,
allretweet,
conversation,
favorite,
[], # tweet
[], # retweet
[], # quote
+ [], # view_my_tweets
[], # allretweet
[], # conversation
[], # favorite