Skip to content

Instantly share code, notes, and snippets.

# 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"