Platform Integrations
Official API Integrations
MilaKnight OS connects to social media platforms via their official OAuth 2.0 APIs. Each client authorizes access to their own accounts — we never store passwords. This page documents exactly which permissions are requested and how each one is used.
Facebook Integration
Meta Graph API v22.0·OAuth 2.0
OAuth Scopes Requested
pages_show_listList the Facebook Pages the user manages so they can select which page to connectpages_read_engagementRead post engagement metrics (likes, comments, shares) for analytics reportspages_manage_metadataRead page metadata including name, avatar, and follower countpages_read_user_contentRead existing posts on the connected page for the content librarypages_manage_postsPublish posts, photos, and videos to the client's Facebook Pageread_insightsPull Page-level analytics: reach, impressions, and audience dataads_readRead ad account data for performance reporting alongside organic metricspublic_profileDisplay the connected account's basic profile in the dashboardPublishing Flow
- 1Client connects Facebook via OAuth
- 2Platform stores page access token
- 3Account Manager creates content item
- 4Client approves
- 5System posts via Graph API /{pageId}/feed or /{pageId}/photo_stories
Instagram Integration
Instagram Content Publishing API (Meta Graph API v22.0)·OAuth 2.0 via Facebook Login
OAuth Scopes Requested
instagram_basicRead the connected Instagram Business account ID, username, and profile pictureinstagram_manage_insightsPull post reach, impressions, profile views, and follower growth for reportsinstagram_content_publishPublish approved feed posts and Stories to the client's Instagram accountpages_show_listRetrieve the Facebook Page linked to the Instagram account — required by Meta's APIpages_read_engagementRequired by Meta when accessing Instagram data via a connected Facebook PagePublishing Flow
- 1Client connects Facebook (which links Instagram)
- 2Platform fetches linked Instagram Business account ID
- 3Account Manager creates post with image or video
- 4Client approves
- 5System creates media container → polls until FINISHED → calls media_publish
TikTok Integration
TikTok Login Kit + Content Posting API v2·OAuth 2.0
OAuth Scopes Requested
user.info.basicDisplay the connected TikTok account name and avatar in the dashboarduser.info.profileShow follower count and account details in client reportsuser.info.statsPull engagement stats (likes, video count) for performance reportsvideo.listDisplay the client's existing TikTok video library inside the platformvideo.uploadUpload video files to TikTok as part of the publishing workflowvideo.publishPublish approved posts (videos and photo carousels) to the client's TikTok accountPublishing Flow
- 1Client connects TikTok via OAuth
- 2Account Manager creates video or photo carousel content
- 3Client approves
- 4System calls /v2/post/publish/video/init or /v2/post/publish/content/init
- 5Post published on TikTok
LinkedIn Integration
LinkedIn Marketing API v2·OAuth 2.0
OAuth Scopes Requested
openidAuthenticate the user via LinkedIn OpenID ConnectprofileRead the user's name and profile picture to display in the dashboardemailIdentify the user's account during the connection flowr_organization_socialRead analytics and insights from the client's LinkedIn Company Pagew_member_socialPublish posts with text and images to the client's LinkedIn Company PagePublishing Flow
- 1Client connects LinkedIn via OAuth
- 2Platform stores organization URN for the company page
- 3Account Manager creates post with caption and optional image
- 4Client approves
- 5System posts via /v2/ugcPosts to the company page
X / Twitter Integration
X API v2·OAuth 2.0 with PKCE
OAuth Scopes Requested
tweet.readRead the connected account's tweet history and profile detailstweet.writePublish approved tweets to the client's X accountusers.readRead user profile data — username, avatar, follower count — for the dashboardoffline.accessKeep the connection alive by enabling token refresh without re-authorizationPublishing Flow
- 1Client connects X via OAuth 2.0 PKCE
- 2Platform stores access and refresh tokens
- 3Account Manager creates tweet with optional image
- 4Client approves
- 5System posts via POST /2/tweets
Snapchat Integration
Snapchat Marketing API·OAuth 2.0
OAuth Scopes Requested
snapchat-marketing-apiAccess the client's Snapchat ad accounts to pull campaign performance, spend, reach, and impression data for reportssnapchat-profile-apiRead the connected Snapchat account profile details to display in the dashboardPublishing Flow
- 1Client connects Snapchat via OAuth
- 2Platform stores access token and ad account ID
- 3System pulls campaign analytics on demand
- 4Data shown in the client's analytics dashboard