bookmarks-search
bookmarks-search copied to clipboard
Search your Twitter Bookmarks
Bookmark search
Search your Twitter bookmarks
How it works
This app uses the Bookmarks lookup endpoint to get your bookmarks. It then performs a fuzzy search on:
- The Tweet text
- The author's name and username
- The Tweet annotations, if present.
Make it yours
Get access
- Sign up for the Twitter API (it's free!)
Configure your Twitter app
- Go to the Twitter Developer Portal and select the cog icon next to app you wish to use.
- Click Edit under User authentication settings.
- Enable OAuth 2.0. Select Single page App as your client type.
- 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 behttps://127.0.0.1:3002/oauth/twitter. - Make a note of your Twitter Client ID.
Configure your project
- Clone this project.
- Copy the
.env.templatefile into a file named.envand fill out the environment variables with the client IDs and secrets for Twitter (note that you will only need the Client ID for Twitter). YourTWITTER_REDIRECT_URIshould reflect the value of the OAuth callback. ChangeAPP_URLto the URL where you are hosting your app. - Run
yarnornpm install(only on your first run). - Run
yarn devornpm run devto start the app.