Facebook Graph API connector for user-authorized storytelling.
- Self-only: fetches only the logged-in user’s own posts via
GET /me/posts. - Text + images only: collects post text and image URLs; video is always excluded.
- Data minimization: normalize into a small, stable IDL model and store only what’s needed for the product.
- User controls:
disconnect(userId)removes stored tokens;delete_user_data(userId)removes stored normalized artifacts.
This connector pins Meta Graph API version in code: FacebookGraph.API_VERSION.
Do not commit secrets. The host app should load credentials from env vars (or its secret manager) and pass them into FacebookOAuthConfig.
FACEBOOK_APP_IDFACEBOOK_APP_SECRETFACEBOOK_REDIRECT_URI
swift test- Golden fixtures live in
fixtures/graph/me_posts.jsonandfixtures/idl/posts.json.
docs/sources/meta-graph.mddocs/mappings/facebook_user_posts_images.md- Legal URLs (for Meta App settings):
docs/legal/privacy-policy.mddocs/legal/data-deletion.mddocs/legal/terms-of-service.md(optional)