From cf609f78e9ba6f572173e024e3e8acf5f81d576b Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Fri, 16 Dec 2022 16:53:32 -0800 Subject: [PATCH] Update README.md Signed-off-by: Ben Johnson --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dffbb64..8e8d6f8 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This app uses the Bookmarks lookup endpoint to get your bookmarks. It then perfo 1. Go to the [Twitter Developer Portal](https://developer.twitter.com/apps) and select the cog icon next to app you wish to use. 1. Click Edit under User authentication settings. -1. Enable OAuth 2.0. Select Single page App as your client type. +1. Enable OAuth 2.0. Select Native App as your client type. 1. Configure your OAuth callback, making sure it ends with `/oauth/twitter`. For example, if you're hosting the app from your local environment, your callback will be `https://127.0.0.1:3002/oauth/twitter`. 1. Make a note of your Twitter Client ID. @@ -33,4 +33,4 @@ This app uses the Bookmarks lookup endpoint to get your bookmarks. It then perfo 1. Clone this project. 1. Copy the `.env.template` file into a file named `.env` and fill out the environment variables with the client IDs and secrets for Twitter (note that you will only need the Client ID for Twitter). Your `TWITTER_REDIRECT_URI` should reflect the value of the OAuth callback. Change `APP_URL` to the URL where you are hosting your app. 1. Run `yarn` or `npm install` (only on your first run). -1. Run `yarn dev` or `npm run dev` to start the app. \ No newline at end of file +1. Run `yarn dev` or `npm run dev` to start the app.