You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the line.crt was at Python27 directory and not LINE directory itself. I deleted the LINE directory and line.crt and did a fresh pip installation of LINE via Git Bash.
$ pip install line && pip uninstall -y line $ git clone https://github.com/carpedm20/LINE.git $ cd LINE/line $ wget https://gist.github.com/windows98SE/b739038218b6fe4d423f/raw/5f68cf3d9a2a88576b739810a6bd6fcaa0c5e940/api.py.patch --no-check-certificate $ patch api.py < api.py.patch $ cd .. $ python config.py $ python setup.py install
Then I launched Python27 command line, import LineClient and login with email and password. Then I am prompted to key in a PIN into my phone. This is the moment when line.crt is generated in Python27 directory.
Next, I printed out the current client authentication token. At this point, I am not supposed to point my current token to the client object otherwise it will throw an exception if I were to update the current token. That's because my login info (email and pwd) has been overwritten by the current token.
Right after I enter the first PIN, I am supposed to update the current token using the existing client object's login info (email and pwd). Then enter another different PIN into my phone and point back the updated token to my client object.
The picture below would illustrate the above 3 paragraphs.
The text was updated successfully, but these errors were encountered:
I'm looking for,,… how to get authtoken line by automatically generate via urlQr line… coz "The WAPGW fails to connect to the remote server" in hours ago. ..
So the line.crt was at Python27 directory and not LINE directory itself. I deleted the LINE directory and line.crt and did a fresh pip installation of LINE via Git Bash.
$ pip install line && pip uninstall -y line
$ git clone https://github.com/carpedm20/LINE.git
$ cd LINE/line
$ wget https://gist.github.com/windows98SE/b739038218b6fe4d423f/raw/5f68cf3d9a2a88576b739810a6bd6fcaa0c5e940/api.py.patch --no-check-certificate
$ patch api.py < api.py.patch
$ cd ..
$ python config.py
$ python setup.py install
Then I launched Python27 command line, import LineClient and login with email and password. Then I am prompted to key in a PIN into my phone. This is the moment when line.crt is generated in Python27 directory.
Next, I printed out the current client authentication token. At this point, I am not supposed to point my current token to the client object otherwise it will throw an exception if I were to update the current token. That's because my login info (email and pwd) has been overwritten by the current token.
Right after I enter the first PIN, I am supposed to update the current token using the existing client object's login info (email and pwd). Then enter another different PIN into my phone and point back the updated token to my client object.
The picture below would illustrate the above 3 paragraphs.
The text was updated successfully, but these errors were encountered: