mirror of
https://github.com/AAndyProgram/SCrawler.git
synced 2026-03-15 00:02:17 +00:00
Twitter token guide update
17
Settings.md
17
Settings.md
@@ -59,12 +59,13 @@ The Reddit parser can parse data without cookies, but you can add it if you like
|
||||
|
||||
### How to find Twitter tokens
|
||||
|
||||
1. Open Google Chrome or FireFox.
|
||||
2. Press three-dots-button - More tools - Developer tools (or just press ```Ctrl``` + ```Shift``` + ```I```).
|
||||
3. Open any twitter post you want.
|
||||
4. In the opened window, go to ```Network```.
|
||||
5. In the list on the left, find a query that starts with ```TwitterDetail?```... and click on it
|
||||
6. Scroll down to ```Request Headers``` then find the fields below:
|
||||
1. Open Google Chrome, Edge or FireFox.
|
||||
1. Go to https://twitter.com
|
||||
1. Press three-dots-button - More tools - Developer tools (or just press ```Ctrl``` + ```Shift``` + ```I```).
|
||||
1. Go to the network tab
|
||||
1. In the window where you have twitter open, click on first post you see (**CLICK ON THE POST DATE**)
|
||||
1. Then look at the dev tools and in the first lines you will see what you need! In the list on the left, find a query that starts with ```TwitterDetail?```... and click on it
|
||||
1. Scroll down to ```Request Headers``` then find the fields below:
|
||||
- ```authorization: Bearer .......``` - this is the authorization token. You need to copy the text from starting with the word ```Bearer``` to the end of the line and paste it into the ```Authorization``` field on the Twitter settings form.
|
||||
- ```x-csrf-token: ...............``` - this is csrf token. You need to copy all the text after the words ```x-csrf-token:``` and paste it into the ```Token``` field on the Twitter settings form
|
||||
|
||||
@@ -94,10 +95,10 @@ Instagram API is requests limited. For one request, the program receive only 50
|
||||
|
||||
## How to set up cookies
|
||||
|
||||
1. Open Google Chrome.
|
||||
1. Open Google Chrome, Microsoft Edge or FireFox.
|
||||
2. Press three-dots-button - More tools - Developer tools (or just press ```Ctrl``` + ```Shift``` + ```I```).
|
||||
3. In the opened window, go to ```Application``` - ```Storage``` - ```Cookies```.
|
||||
4. Copy all text.
|
||||
4. Copy all text **with mouse**.
|
||||
5. In the program, in the cookie editor, click the button ```From Google Chrome```.
|
||||
6. Paste the copied cookies text into the opened window and click the ```OK``` button.
|
||||
7. Close the cookies editor.
|
||||
|
||||
Reference in New Issue
Block a user