From 739c5aab22ad9f02b93b9a3a7a66abac68bf7665 Mon Sep 17 00:00:00 2001 From: ma00 <32194462+ma00@users.noreply.github.com> Date: Mon, 15 May 2023 13:02:50 +0200 Subject: [PATCH] Update README.md how to find USER_ID --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 24c01d0..a3e8c75 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,10 @@ Set the following environment variables by creating a **.env** file: PASSWORD= USER_ID= -The only way I found to discover the USER_ID is to inspect -the payload to a **/drafts** request. Under the fields **draftBylines** -or **postBylines** there is a subfield **user_id** or **id** +To discover the USER_ID go to your public profile page, +in the URL bar of the browser you find the substack address +followed by your USER_ID and your username: +https://substack.com/profile/[USER_ID]-[username] -The .env file will be ignored by git but always be careful. \ No newline at end of file + +The .env file will be ignored by git but always be careful.