-
Notifications
You must be signed in to change notification settings - Fork 2
Labels
Phase 3Priority 1ai-revieweddependenciesPull requests that update a dependency filePull requests that update a dependency fileenhancementNew feature or requestNew feature or requestproductionChanges for Production Environment and ConfigurationChanges for Production Environment and Configurationtype:story
Description
Priority: P1
Phase: 3 - Multi-Channel Sales
Epic: Facebook Shop Integration
Estimate: 7 days
Type: Story
Description
Integrate Facebook Shop to enable product catalog sync, Facebook Shops storefront, order management, and customer message handling.
Features:
- Facebook App setup and approval
- OAuth flow for Facebook Page connection
- Product catalog sync to Facebook
- Order webhook from Facebook Shops
- Message webhook for customer inquiries
- Inventory sync to Facebook catalog
Acceptance Criteria
- "Connect Facebook" button in dashboard redirects to OAuth
- OAuth callback connects Facebook Page successfully
- Products sync to Facebook catalog automatically
- Facebook orders appear in StormCom dashboard
- Customer messages forwarded to vendor
- Inventory updates reflect on Facebook in real-time
- Facebook Shop preview accessible from dashboard
Dependencies
- [Phase 1] Epic: Product Management #15 Product CRUD API (needs product feed for Facebook)
- [Phase 1] Epic: Order Management #23 Order Management (needs order creation from webhook)
References
- docs/EXTERNAL_WEBSITE_INTEGRATION_PLAN.md (Facebook integration architecture)
- docs/GITHUB_ISSUES_PLAN_V2.md (Issue [Phase 3] Epic: Multi-Channel Sales #35 Phase 3.1)
Technical Notes
Facebook Graph API Endpoints:
- POST /v18.0/{page_id}/catalog - Create product catalog
- POST /v18.0/{catalog_id}/products - Add products
- GET /v18.0/{page_id}/conversations - Fetch messages
Webhooks: Requires verified domain and HTTPS endpoint
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Phase 3Priority 1ai-revieweddependenciesPull requests that update a dependency filePull requests that update a dependency fileenhancementNew feature or requestNew feature or requestproductionChanges for Production Environment and ConfigurationChanges for Production Environment and Configurationtype:story
Type
Projects
Status
In progress