Connect Accounts
Link social media accounts to your PostPeer project via OAuth.
Overview
Before you can post to a platform, you need to connect a social account. PostPeer handles all OAuth flows — your users authorize on the platform, and we store the tokens securely.
Connect Twitter/X
Response:
Redirect the user to the returned url. After they authorize, Twitter redirects to PostPeer's callback, and the account is connected to your project.
Connect Instagram
Returns an OAuth URL for Facebook/Instagram authorization. The user must have an Instagram Business Account linked to a Facebook Page.
Note: Instagram publishing requires Meta App Review for the
instagram_content_publishpermission.
Connect YouTube
Returns a Google OAuth URL for YouTube Data API v3 access. The user authorizes video upload permissions.
List Connected Accounts
Response:
Use the id field as the accountId when publishing posts.