A beautiful, user-friendly web application that simplifies Twitter OAuth 2.0 setup with Make.com automation. This wizard guides you through the entire OAuth flow and automatically generates a ready-to-use Make.com scenario.
π Launch the Wizard π
No installation needed! Use the live web application directly in your browser.
- π― 4-Step Wizard Interface - Intuitive, guided flow with visual progress tracking
- π PKCE Security - Implements OAuth 2.0 with Proof Key for Code Exchange (SHA-256)
- β‘ Auto-Download - Scenario JSON automatically downloads with pre-filled auth code
- π¦ Ready-to-Import - Generated scenario is immediately ready to import into Make.com
- β±οΈ 30-Second Execution - Optimized workflow to beat the authorization code expiration
- π¨ Beautiful UI - Modern gradient design with responsive layout
- π One-Click Twitter Post - Test your integration with an automatic tweet
Simply visit https://avisangle.github.io/make-twitter-oauth/ in your browser and start using the wizard immediately!
-
Clone the repository:
git clone https://github.com/avisangle/make-twitter-oauth.git cd make-twitter-oauth -
Open in browser:
open index.html
Or simply double-click
index.htmlto open it in your default browser. -
No build process required! - Pure HTML, CSS, and JavaScript
Before using this tool, you need:
-
Twitter Developer Account
- Create an app at Twitter Developer Portal
- Get your Client ID and Client Secret
- Set redirect URL to:
https://www.make.com/oauth/cb/oauth2
-
Make.com Account
- Free account at Make.com
- Ability to create and import scenarios
- Input your Twitter app's Client ID and Client Secret
- PKCE parameters (code_verifier, code_challenge) are auto-generated using SHA-256
- View the generated security parameters
- System prepares the authorization URL
- Click to open Twitter authorization in a new tab
- Log in and authorize the application
- Copy the redirect URL (even though it shows "Resource not found" - this is expected!)
- Paste the redirect URL
- Auth code is automatically extracted
- Scenario JSON downloads immediately with pre-filled auth code
- Import to Make.com and run within 30 seconds!
The auto-generated Make.com scenario includes 3 modules:
- Set Variable - Stores the pre-filled authorization code
- HTTP Token Exchange - Exchanges auth code for OAuth tokens (access_token, refresh_token)
- Twitter Post - Posts a test tweet: "Testing Twitter API integration with Make.com! π"
make-twitter/
βββ index.html # Main HTML structure and styles
βββ scenario-generator.js # All JavaScript logic
βββ .gitignore # Git ignore rules
βββ README.md # This file
βββ progress.md # Development changelog
βββ decisions.md # Architectural decisions
- OAuth 2.0 with PKCE - Secure authorization flow
- Web Crypto API - SHA-256 hashing for code_challenge
- Make.com Blueprint - JSON scenario format
- Twitter API v2 - OAuth and tweet endpoints
- Pure Vanilla JS - No frameworks or dependencies
- β PKCE (Proof Key for Code Exchange) implementation
- β Secure random string generation
- β State parameter for CSRF protection
- β No credentials stored or transmitted to third parties
- β Client-side only processing
- This is normal! Make.com doesn't have a page at the redirect URL
- Simply copy the entire URL from the address bar
- Auth codes expire in 30 seconds
- Return to Step 3 and re-authorize
- Download the new scenario and import immediately
- Ensure you're using the latest downloaded scenario
- Check that all HTTP parameters are included (they should be auto-generated)
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
If this tool helped you save time and simplify your Twitter OAuth setup, consider supporting its development:
This project is licensed under the MIT License - see below for details:
MIT License
Copyright (c) 2025 Avinash Sangle
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- Built with β€οΈ for the developer community
- Inspired by the need for simpler OAuth workflows
- Thanks to all contributors and users!
Made with β€οΈ by Avinash Sangle