This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# original: https://github.com/carpedm20/LINE/blob/master/examples/echobot.py | |
from line import LineClient, LineGroup, LineContact | |
try: | |
client = LineClient("ID", "PASSWORD") | |
print client.authToken #print authToken before error and use this login again | |
#client = LineClient(authToken="AUTHTOKEN") | |
except: | |
print "Login Failed" |