-
Notifications
You must be signed in to change notification settings - Fork 0
Updated CLI walkthrough for setting up with Facebook #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,81 @@ | ||||||
| # Facebook Setup Quick Reference | ||||||
|
|
||||||
| ## Get Your Credentials | ||||||
|
|
||||||
| ### 1. Create Facebook App (5 min) | ||||||
|
|
||||||
| 1. Go to https://developers.facebook.com/apps | ||||||
| 2. Click "Create App" → Choose "Business" | ||||||
| 3. Name: "Your Bot Name" | ||||||
| 4. Complete security check | ||||||
|
|
||||||
| ### 2. Add Messenger (2 min) | ||||||
|
|
||||||
| 1. In app dashboard → "Add Products" → "Messenger" | ||||||
| 2. Click "Set Up" | ||||||
|
|
||||||
| ### 3. Get Page Access Token (3 min) | ||||||
|
|
||||||
| 1. Messenger Settings → "Access Tokens" | ||||||
| 2. Click "Add or Remove Pages" | ||||||
| 3. Select your page → Grant permissions | ||||||
| 4. Click "Generate Token" | ||||||
| 5. **Copy immediately!** (Starts with EAAA...) | ||||||
|
|
||||||
| ### 4. Find Page ID (1 min) | ||||||
|
|
||||||
| - Look in the page dropdown in Access Tokens | ||||||
| - Format: 15-digit number like `123456789012345` | ||||||
|
|
||||||
| ### 5. Create Verify Token (1 min) | ||||||
|
|
||||||
| - Use: `openssl rand -base64 32` | ||||||
|
||||||
| - Use: `openssl rand -base64 32` | |
| - Use: `openssl rand -hex 16` |
Copilot
AI
Jan 29, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation says "Page ID (15 digits)" but the validation accepts 15-17 digits. For consistency, update to "(15-17 digits)" to match the actual validation.
| - Page ID (15 digits) | |
| - Page ID (15-17 digits) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation says "15-digit number" but the validation in
setup_cli.pyaccepts 15-17 digits. Consider updating to "15-17 digit number" to match the actual validation and avoid user confusion.