Skip to Content

Connect Meta (Facebook) to Your AI Agent

Connect your Meta app to publish Page content and query the ad accounts you manage.

22 toolsOAuth / API key

20,000 free app calls every month(paid services billed separately)

Try a Meta (Facebook) Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo SkillMeta (Facebook)

Review campaign performance

Read campaigns and their insight metrics for a chosen period.

/oo Meta (Facebook): List campaigns for ad account [ID], then retrieve campaign-level insights for [date range] and compare spend, clicks, and impressions.

Check account access

List the ad accounts visible to the token.

/oo Meta (Facebook): List my accessible Meta ad accounts, follow pagination, and summarize account names, currencies, and status.

Publish a Page update

Draft and publish a text, link, or photo update on a managed Page.

/oo Meta (Facebook): Find my Facebook Page [name], then publish this approved update: [text], with this image URL: [URL].

Start Working with Meta (Facebook)

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Meta (Facebook)

    Connect with your own Meta OAuth app or an access token.

    Connect Meta (Facebook)→
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →
  • For OAuth, provide your own Meta App ID, App Secret, redirect URI, and Facebook Login for Business configuration ID.
  • Your app and token must have the permissions and Page tasks or ad account access needed for each operation.
  • Choose the required assets and permissions in your Facebook Login for Business configuration at https://developers.facebook.com/apps/.
  • A Page access token only works for its own Page; use a User or System User token for advertising and managed Page discovery.
  • Facebook tokens can expire or be revoked. Reconnect when required; no automatic refresh token is available.

Meta (Facebook) Tools

Use Facebook Pages for text, link, and photo posts, including scheduled publishing. Review campaigns, ad sets, ads, creatives, and synchronous or asynchronous performance reports.

Review campaign performance

Read campaigns and their insight metrics for a chosen period.

Check account access

List the ad accounts visible to the token.

Publish a Page update

Draft and publish a text, link, or photo update on a managed Page.

22 tools

Get Current User

Retrieve the current Meta Graph API user for the connected access token.

meta.get_current_user

List Ad Accounts

List Meta ad accounts available to the connected access token.

meta.list_ad_accounts

List Campaigns

List campaigns under one Meta ad account with optional delivery status filters.

meta.list_campaigns

Get Insights

Retrieve Meta Ads insights for an ad account, campaign, ad set, or ad object.

meta.get_insights

Get Ad Account

Retrieve one Meta ad account.

meta.get_ad_account

Get Campaign

Retrieve one Meta advertising campaign.

meta.get_campaign

Get Ad Set

Retrieve one Meta ad set including budget, targeting, and delivery settings.

meta.get_ad_set

Get Ad

Retrieve one Meta ad and its creative reference.

meta.get_ad

Get Ad Creative

Retrieve one Meta ad creative.

meta.get_ad_creative

List Ad Sets

List Meta ad sets under an ad account.

meta.list_ad_sets

List Ads

List Meta ads under an ad account.

meta.list_ads

List Ad Creatives

List Meta ad creatives under an ad account.

meta.list_ad_creatives

Create Insights Report

Start an asynchronous Meta Ads insights report. Use get_insights_report to poll and retrieve its first result page; report handles expire after 30 days.

meta.create_insights_report

Get Insights Report

Check an asynchronous Meta Ads report and fetch a result page once complete. Pass the returned after cursor to retrieve further pages.

meta.get_insights_report

List Pages

List Facebook Pages available to the connected user or system user, including assigned tasks. Access tokens are never returned.

meta.list_pages

Get Page

Retrieve a managed Facebook Page using its Page access token.

meta.get_page

List Page Posts

List posts from a managed Facebook Page feed, including visitor content where permitted. Inspect is_published to distinguish published and unpublished posts.

meta.list_page_posts

Get Page Post

Retrieve a Facebook Page post using the owning Page access token.

meta.get_page_post

Create Page Post

Create a text, link, or attached-photo post on a managed Facebook Page, immediately, unpublished, or scheduled. Upload unpublished photos first to obtain attachment IDs.

meta.create_page_post

Update Page Post

Update a Facebook Page post created by the same Meta app, including text, attachments, and publishing settings.

meta.update_page_post

Delete Page Post

Delete a post from a managed Facebook Page.

meta.delete_page_post

Publish Page Photo

Publish or stage a photo on a managed Facebook Page from a public image URL. Meta downloads the image. Set published=false to obtain a photo ID for an attached-media post.

meta.publish_page_photo

Frequently Asked Questions

Can AI change a campaign budget here?

Advertising actions query accounts and reports without changing budgets or publishing ads. Page actions can publish, update, and delete posts.

Can I request different metrics?

Specify insight fields, level, date range, and supported breakdowns; Meta permissions and API constraints still apply.

Can I connect with just a Facebook login?

OAuth requires your own Meta app and Facebook Login for Business configuration. You can also paste a suitable access token. The app must have access to the requested permissions and business assets.