Skip to content

Commit 5fd0d84

Browse files
authored
Update README.md (#11)
how to find USER_ID
1 parent 7c60d8d commit 5fd0d84

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ Set the following environment variables by creating a **.env** file:
2121
PASSWORD=
2222
USER_ID=
2323

24-
The only way I found to discover the USER_ID is to inspect
25-
the payload to a **/drafts** request. Under the fields **draftBylines**
26-
or **postBylines** there is a subfield **user_id** or **id**
24+
To discover the USER_ID go to your public profile page,
25+
in the URL bar of the browser you find the substack address
26+
followed by your USER_ID and your username:
27+
https://substack.com/profile/[USER_ID]-[username]
2728

28-
The .env file will be ignored by git but always be careful.
29+
30+
The .env file will be ignored by git but always be careful.

0 commit comments

Comments
 (0)