Connects social media accounts to automatically import memories from posts, interactions, and activities.
curl -X POST 'https://api.memchat.io/integrations/social' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"platform": "linkedin",
"auth_token": "linkedin_access_token_here",
"import_settings": {
"posts": true,
"connections": true,
"activities": false
}
}'
Request Body
Social media platform to integrate. Supported: linkedin, twitter, reddit
OAuth access token for the platform
Configuration for what data to import
Import user’s posts and updates
Import connections and network information
Import likes, comments, and other activities
Import direct messages (if available)
Date range for import (defaults to last 6 months)
Whether to automatically sync new content
Category mapping for imported content
Response
Unique identifier for the integration
Social media platform that was connected
Current status: connected, syncing, error, disconnected
Statistics about the import process
Total items found for import
Number of memories successfully imported
Items skipped (duplicates, filtered out, etc.)
ISO 8601 timestamp of last successful sync
ISO 8601 timestamp of next scheduled sync
{
"integration_id": "int_linkedin_123",
"platform": "linkedin",
"status": "syncing",
"import_stats": {
"total_items": 147,
"imported_memories": 89,
"skipped_items": 52,
"errors": 6
},
"last_sync": "2024-01-15T16:30:00Z",
"next_sync": "2024-01-16T16:30:00Z"
}
- Posts: Professional updates, articles, shares
- Connections: Network connections and introductions
- Activities: Likes, comments on professional content
- Categories: Primarily
career, relationships, learning
- Posts: Submissions, comments, saved posts
- Connections: Followed users and communities
- Activities: Upvotes, subscriptions
- Categories:
interests, learning, identity