Stream remote developer jobs in realtime using the Twitter API. This web app uses the Filtered Stream endpoints and Tweet Annotations in Twitter Developer Labs to listen for and display Tweets containing remote developer job postings.
From the project root directory run the following
npm install
cd client/
npm install
Go into the details section of the appropriate app from your Twiter apps dashboard and under the "Keys and tokens" tab insert your consumer API keys below. Within your apps dashboard, remember to select the app you have set up with Twitter Developer Labs.
export TWITTER_CONSUMER_KEY=<YOUR API KEY HERE>
export TWITTER_CONSUMER_SECRET=<YOUR API SECRET KEY HERE>
From the project root directory run the following
yarn dev
After your app starts up, your default browser will automatically open and navigate to the rules management section of the app. Simply add the rule below to match Tweets containing remote developer job postings.
# Match Tweets containing the keywords "developer" or "engineer" and the keyword "remote", but only if they contain the context entity labels "Job search" or "Recruitment"
(developer OR engineer) remote (context:66.850073441055133696 OR context:66.961961812492148736)
👤 Tony Vu
- Website: https://twitter.com/tonyv00
- Twitter: @tonyv00
Create a new issue on GitHub.
We feel that a welcoming community is important and we ask that you follow Twitter's Open Source Code of Conduct in all interactions with the community.
Copyright 2020 Twitter, Inc.
Licensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0
This app is for demonstration purposes only, and should not be used in production without further modifcations. Dependencies on databases, and other types of services are intentionally not within the scope of this sample app. Some considerations below:
- The application can handle light usage, but you may experience API rate limit issues under heavier load. Consider storing data locally in a secure database, or caching requests.
- To support multiple users (admins, team members, customers, etc), consider implementing a form of Access Control List for better security.