Skip to content

Commit

Permalink
doc: update readme for IG_PRELOGIN
Browse files Browse the repository at this point in the history
  • Loading branch information
davodm committed Oct 23, 2023
1 parent 7f52ff9 commit 434f21b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ TWITTER_CALLBACK_URL=https://randomurl/twitterbot/ //Should be the same with you
IG_USERNAME=<Your Instagram username>
IG_PASSWORD=<Your Instagram password>
IG_PROXY=<Your server proxy to use Instagram>
IG_PRELOGIN=false //If you want to use prelogin simulation, set it to true
```

5. **Twitter Authentication:** Use the provided CLI tool to authenticate and configure Twitter credentials. This tool will guide you through the authentication process and generate access and refresh tokens.
Expand Down Expand Up @@ -65,7 +66,7 @@ $ npm run instagram-auth

## Installation
1. Clone Repo
2. Run `npm install --no-bin-links`
2. Run `npm install`
3. Create .env file and fill out the values as explained
4. Deploy lambda function through [serverless](https://www.serverless.com/framework/docs/providers/aws/guide/deploying): `npm run deploy`

Expand Down
2 changes: 1 addition & 1 deletion src/instagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async function login() {
return true;
} catch (error) {
console.error(
"Could not login into Instagram, could thry authorizing through helper?"
"Could not login into Instagram, could try authorizing through helper?"
);
throw error;
}
Expand Down

0 comments on commit 434f21b

Please sign in to comment.