Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 20 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,59 +5,67 @@
### 2. Open Termux and just copy paste all the commands that described below, Make sure you have internet connection. if you see Y/n then Type y.

```
sudo apt update && sudo apt upgrade -y && sudo apt install git python3 python3-pip -y && sudo apt upgrade python3 -y && python3 -m pip install --upgrade pip && pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib

apt update && apt upgrade -y && apt install git python3 -y && apt upgrade python3 -y && pkg install python-cryptography && pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib
```

### 3.

```
apt update && apt upgrade
```

### 4.

```
git clone https://github.com/FollowNaim/TokenPickle
```

### 4. make sure Credentials.json file present in your storage folder not in Sd card. if not then just move credentials.json file into the sdcard. Not in any folder.
### 5. make sure Credentials.json file present in your storage folder not in Sd card. if not then just move credentials.json file into the sdcard. Not in any folder.

### 5. you have to give storage permission to termux. for that use this command.
### 6. you have to give storage permission to termux. for that use this command.

```
termux-setup-storage
```

### 6.
### 7.

```
cd /sdcard
```

### 7.
### 8.

```
cp -r credentials.json /data/data/com.termux/files/home/TokenPickle
```

### 8. Just exit from termux and reopen it.

### 9.
```
cd
```

### 10.

```
cd TokenPickle
```

### 10.
### 11.

```
python3 GenerateTokenPickle.py
```

### 11. You'll find a url https://accounts.google.com/o/oauth2/=offline like this. just copy this url and paste on browser and login into your google account. that's it. you'll see 'The authentication flow has completed. You may close this window' this massage. then you're done.
### 12. You'll find a url https://accounts.google.com/o/oauth2/=offline like this. just copy this url and paste on browser and login into your google account. that's it. you'll see 'The authentication flow has completed. You may close this window' this massage. then you're done.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (typo): Correct typos and phrasing in the OAuth URL instructions.

For example, you could revise this step to:

### 12. You'll see a URL like https://accounts.google.com/o/oauth2/=offline. Copy this URL, paste it into your browser, and log in to your Google account. You'll then see 'The authentication flow has completed. You may close this window' — this message means you're done.

This fixes capitalization, grammar (“URL”, “paste it into your browser”, “log in to”, “message”) and sentence starts.

Suggested change
### 12. You'll find a url https://accounts.google.com/o/oauth2/=offline like this. just copy this url and paste on browser and login into your google account. that's it. you'll see 'The authentication flow has completed. You may close this window' this massage. then you're done.
### 12. You'll see a URL like https://accounts.google.com/o/oauth2/=offline. Copy this URL, paste it into your browser, and log in to your Google account. You'll then see 'The authentication flow has completed. You may close this window' this message means you're done.


### 12.
### 13.

```
cp -r token.pickle /sdcard
```

### 13. Boom 💥!
### 14. Boom 💥!

goto your sdcard (phone memory) you'll find token.pickle there.

Expand Down