Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milkcocoa0902/make-token
https://github.com/milkcocoa0902/make-token
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/milkcocoa0902/make-token
- Owner: milkcocoa0902
- Created: 2019-08-23T20:07:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-23T20:34:28.000Z (over 5 years ago)
- Last Synced: 2023-11-23T16:25:28.777Z (about 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# make-token
for Twitterget `Access Token` & `Access Token Secret` using Consumer key
## Requirement
- tweepy
- urllib## Use
### 1. SET your paramator
set your `consumer key` and `consumer secret` at line 4-5
`CONSUMER_KEY`
`CONSUMER_SECRET`### 2. get authorization url
```
python3.7 maketoken.py
Redirect URL https://api.twitter.com/oauth/authorize?oauth_token=AAAAAAAAAAAAAAA
oauth_token: AAAAAAAAAAAAAAA
```### 3. authorize
copy and past `Redirect URL` to browser and access.
get 6-digit pin code.### 4. generate token
type your pin-code to console.
so generated and saved to `auth_info.txt` your `Access Token` & `Access Token Secret`.
```
key:1938298308402193021
secret:30901jdfnewioufbwehfw9ef
```