Exemplo n.º 1
0
def tweet(status):
    if type(status) == str or type(status) == int:
        if len(status) <= 140:
            api.update_status(status)
        else:
            print('This tweet is too long!')
    else:
        print('This is not a valid status to tweet. Try to be human.')
Exemplo n.º 2
0
def tweet(status):
	if type(status) == str or type(status) == int:
		if len(status) <= 140:
			api.update_status(status)
		else:
			print('This tweet is too long!')
	else:
		print('This is not a valid status to tweet. Try to be human.')
Exemplo n.º 3
0
def continuing(status):
    if type(status) == str:
        api.update_status(status, api.me().status.id)
Exemplo n.º 4
0
def continuing(status):
	if type(status) == str:
		api.update_status(status, api.me().status.id)