Connect your Meta Business account to publish campaigns directly on Facebook and Instagram.
Required permissions: ads_management, ads_read
Required for creating ads with creatives
Go to Meta for Developers, create a Business type app and add the Marketing API product.
Meta for DevelopersIn the Graph API Explorer, select your app and generate a token with ads_management and ads_read permissions.
Graph API ExplorerIn Meta Ads Manager, go to Settings → Account Information. The ID has format act_XXXXXXXXXX.
Meta Ads Manager