<s> import glass <EOL> import configs <EOL> app = glass . Application ( <EOL> name = "<STR_LIT>" , <EOL> client_id = configs . CLIENT_ID , <EOL> client_secret = configs . CLIENT_SECRET , <EOL> template_folder = "<STR_LIT>" <EOL> ) <EOL> @ app . subscriptions . login <EOL> def login ( user ) : <EOL> print "<STR_LIT>" % user . token <EOL> profile = user . profile ( ) <EOL> user . timeline . post_template ( "<STR_LIT>" , name = profile . get ( "<STR_LIT>" ) ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> app . run ( port = <NUM_LIT> ) </s>
