📱 Instagram Integration

Connecting conscious fashion with Instagram's creative community

📊 Instagram API Configuration

🔑 App Information

  • App Name: Modern Day Hippie Couture, LLC-IG
  • App ID: 1083462793734685
  • Platform: Instagram Business API
  • Account: @moderndayyhippie

🔗 Webhook Configuration

  • Callback URL:
    https://moderndayhippieco.com/instagram-webhook.php
  • Verify Token: mdhc_instagram_verify_2025
  • Status: ✅ Configured and Ready
  • SSL Required: Yes (HTTPS)

🚀 Integration Features

  • Content Publishing: Create and publish Instagram posts
  • Message Management: Handle direct messages automatically
  • Comment Moderation: Monitor and respond to comments
  • Analytics: Track engagement and reach metrics

📝 Implementation Status

  • Webhook Endpoint: ✅ Deployed
  • PHP Processing: ✅ Active
  • Token Generation: ⏳ Pending
  • App Review: ⏳ To be submitted

🛠️ Setup Instructions

1

Configure Webhook URL

In your Meta App Dashboard, set the Callback URL to:

https://moderndayhippieco.com/instagram-webhook.php
2

Set Verify Token

Use this verify token in your webhook configuration:

mdhc_instagram_verify_2025
3

Generate Access Tokens

Click "Generate token" for the @moderndayyhippie account to create access tokens for API calls.

4

Test Webhook

Use the "Verify and save" button to test the webhook connection.

🔗 Available Endpoints

📤 Webhook Handler

URL: /instagram-webhook.php

Methods: GET (verification), POST (events)

Purpose: Handles Instagram webhook events and verification

📊 Status Page

URL: /instagram-webhook.html

Method: GET

Purpose: Shows webhook endpoint status

⚙️ Technical Implementation

🔒 Security

  • HTTPS required for all webhook calls
  • Verify token validation
  • Request signature verification (recommended)
  • Rate limiting protection

📝 Logging

  • All webhook events logged
  • Error tracking and monitoring
  • Debug information for development
  • Event replay capability

🔄 Event Handling

  • Message events (DMs)
  • Comment events
  • Mention events
  • Media events

🚀 Scaling

  • Asynchronous event processing
  • Queue-based message handling
  • Horizontal scaling ready
  • Database integration prepared