Skip to content

xdevplatform/bookmarks-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Daniele
Apr 29, 2022
a54865f · Apr 29, 2022

History

27 Commits
Mar 24, 2022
Mar 25, 2022
Apr 29, 2022
Mar 24, 2022
Mar 24, 2022
Mar 25, 2022
Apr 25, 2022
Mar 22, 2022
Mar 25, 2022
Mar 22, 2022
Mar 24, 2022
Mar 25, 2022
Apr 26, 2022
Mar 25, 2022

Repository files navigation

Bookmark search

Search your Twitter bookmarks

Try it live

Sign up for the Twitter API

How it works

This app uses the Bookmarks lookup endpoint to get your bookmarks. It then performs a fuzzy search on:

Make it yours

Get access

  1. Sign up for the Twitter API (it's free!)

Configure your Twitter app

  1. Go to the Twitter Developer Portal and select the cog icon next to app you wish to use.
  2. Click Edit under User authentication settings.
  3. Enable OAuth 2.0. Select Single page App as your client type.
  4. 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.
  5. Make a note of your Twitter Client ID.

Configure your project

  1. Clone this project.
  2. 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.
  3. Run yarn or npm install (only on your first run).
  4. Run yarn dev or npm run dev to start the app.