# Facebook Pages + TikHub Integrations: Connect with Zapier MCP
> zapier.com/apps/facebook-pages/integrations/tikhub
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Facebook Pages and TikHub in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · fetch_instagram_comment_replies`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "tikhub", owner: "me" });

const { data } = await zapier.runAction({
  app: "tikhub",
  actionType: "write",
  action: "fetch_instagram_comment_replies",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action tikhub write fetch_instagram_comment_replies \
  --inputs '{}'
```

## Facebook Pages

### Identity
Facebook Pages lets you connect with your customers, fans and followers on the world's largest social network. Share relevant content to engage people who Like your page, create events to build and grow your community, and run a Facebook ad campaign by targeting location, age and more.

- App slug: facebook-pages
- Operations published here: 11 (5 events, 6 functions)

### Authentication
Zapier connects to Facebook Pages via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection facebook-pages
```

### Capabilities

#### Events (5)

Events fire when something happens in Facebook Pages. Use them to start a run.

##### New Comment
Triggers when a new comment is created.

- Type: read · Key: `new_comment`
- Requires: page
- Optional: post
- SDK: `runAction({ app: "facebook-pages", actionType: "read", action: "new_comment" })`
- CLI: `npx zapier-sdk run-action facebook-pages read new_comment`

##### New Page Mention / Tag
Triggers when your page is mentioned or tagged in a post.

- Type: read · Key: `new_mention`
- Requires: page
- Optional: info
- SDK: `runAction({ app: "facebook-pages", actionType: "read", action: "new_mention" })`
- CLI: `npx zapier-sdk run-action facebook-pages read new_mention`

##### New Post to Your Timeline
Triggers when anyone (including you) posts to your Page's Timeline.

- Type: read · Key: `page_stream`
- Requires: page
- SDK: `runAction({ app: "facebook-pages", actionType: "read", action: "page_stream" })`
- CLI: `npx zapier-sdk run-action facebook-pages read page_stream`

##### New Post by You
Triggers when you post to your Page's Timeline.

- Type: read · Key: `post_by_you`
- Requires: page
- SDK: `runAction({ app: "facebook-pages", actionType: "read", action: "post_by_you" })`
- CLI: `npx zapier-sdk run-action facebook-pages read post_by_you`

##### New Recommendation
Triggers when your Facebook Page receives a new recommendation.

- Type: read · Key: `recommendation`
- Requires: page
- SDK: `runAction({ app: "facebook-pages", actionType: "read", action: "recommendation" })`
- CLI: `npx zapier-sdk run-action facebook-pages read recommendation`

#### Functions (6)

Functions change something in Facebook Pages.

##### Change Page Profile Photo
Changes the profile picture of a Facebook Page.

- Type: write · Key: `change_profile_picture`
- Requires: page, source
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "change_profile_picture" })`
- CLI: `npx zapier-sdk run-action facebook-pages write change_profile_picture`

##### Create Page Post as Draft
Saves a new post as a draft in Meta Business Suite under Content, then Drafts, instead of publishing it to your Page.

- Type: write · Key: `draft_page_post`
- Requires: page, message
- Optional: source, link_url
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "draft_page_post" })`
- CLI: `npx zapier-sdk run-action facebook-pages write draft_page_post`

##### Create Page Photo
Uploads a photo to your Facebook Page and posts it to the stream.

- Type: write · Key: `page_photo`
- Requires: page, source
- Optional: message
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "page_photo" })`
- CLI: `npx zapier-sdk run-action facebook-pages write page_photo`

##### Page Post Insights
Generates page post insights. You can include multiple metrics.

- Type: write · Key: `page_post_metrics`
- Requires: page, post_id, metrics
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "page_post_metrics" })`
- CLI: `npx zapier-sdk run-action facebook-pages write page_post_metrics`

##### Create Page Post
Create a new page "stream" post on a page.

- Type: write · Key: `page_stream`
- Requires: page, message
- Optional: source, link_url, save_as_draft
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "page_stream" })`
- CLI: `npx zapier-sdk run-action facebook-pages write page_stream`

##### Create Page Video
Uploads a video to your Facebook Page and posts it to the stream.

- Type: write · Key: `page_video`
- Requires: page, source
- Optional: title, description
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "page_video" })`
- CLI: `npx zapier-sdk run-action facebook-pages write page_video`

## TikHub

### Identity
TikHub is a social media analytics tool that provides insights into public profiles, posts, comments, media, and engagement metrics.

- App slug: tikhub
- Operations published here: 28 (28 functions)

### Authentication
Zapier connects to TikHub via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection tikhub
```

### Capabilities

#### Functions (28)

Functions change something in TikHub.

##### View IG Comment Threads
Navigate comment replies with author profiles, timestamps, like counts, and nested conversations.

- Type: write · Key: `fetch_instagram_comment_replies`
- Requires: url, comment_id
- Optional: pagination_token
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_instagram_comment_replies" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_instagram_comment_replies`

##### Analyze IG Content
Analyze post performance with like/comment counts, captions, creator details, media links, and timestamps.

- Type: write · Key: `fetch_instagram_post_by_url`
- Requires: url
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_instagram_post_by_url" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_instagram_post_by_url`

##### Retrieve IG Engagement Insights
Analyze post comments with commenter profiles, timestamps, like totals, and reply counts.

- Type: write · Key: `fetch_instagram_post_comments`
- Requires: url
- Optional: pagination_token, sort_type
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_instagram_post_comments" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_instagram_post_comments`

##### Display IG Media
Display media assets with URLs, dimensions, file formats, and preview thumbnails.

- Type: write · Key: `fetch_instagram_post_media`
- Requires: url
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_instagram_post_media" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_instagram_post_media`

##### Summarize IG Profile
Summarize account profile with follower/following totals, bio, verification badge, and content volume.

- Type: write · Key: `fetch_instagram_user_by_username`
- Requires: username
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_instagram_user_by_username" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_instagram_user_by_username`

##### Inspect IG Profile (V2)
Inspect account profile with username, bio, follower counts, verification status, and avatar.

- Type: write · Key: `fetch_instagram_user_by_user_id`
- Requires: user_id
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_instagram_user_by_user_id" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_instagram_user_by_user_id`

##### View IG Story Highlights
View story highlights with titles, cover images, story counts, and collection metadata.

- Type: write · Key: `fetch_instagram_user_highlights`
- Requires: username
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_instagram_user_highlights" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_instagram_user_highlights`

##### Retrieve IG User Content
Monitor posts and reels with engagement metrics, captions, media links, and publication dates.

- Type: write · Key: `fetch_instagram_user_posts`
- Requires: username
- Optional: pagination_token
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_instagram_user_posts" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_instagram_user_posts`

##### Analyze Multiple TT Videos (V3)
Compare engagement metrics, creator profiles, and media assets across up to 25 videos.

- Type: write · Key: `fetch_multi_video_v3`
- Requires: aweme_ids
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_multi_video_v3" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_multi_video_v3`

##### Analyze TT Video (V3)
Analyze video performance including view counts, likes, comments, shares, creator profile, and media assets.

- Type: write · Key: `fetch_single_video_v3`
- Requires: aweme_id
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_single_video_v3" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_single_video_v3`

##### Retrieve TT User Content (V3)
Track user posts with engagement statistics, captions, hashtags, media links, and publish dates.

- Type: write · Key: `fetch_user_posts_v3`
- Requires: nothing
- Optional: sec_user_id, unique_id, count, sort_type, max_cursor
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_user_posts_v3" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_user_posts_v3`

##### Summarize TT Profile (V3)
Summarize creator profile with follower/following counts, bio, verification badge, and engagement stats.

- Type: write · Key: `fetch_user_profile_v3`
- Requires: nothing
- Optional: sec_user_id, user_id, unique_id
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_user_profile_v3" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_user_profile_v3`

##### Analyze TT Video by URL
Evaluate video from share link including performance stats, creator info, caption, and media references.

- Type: write · Key: `fetch_video_by_share_url`
- Requires: share_url
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_video_by_share_url" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_video_by_share_url`

##### Retrieve TT Engagement Insights
Analyze comment activity with commenter details, timestamps, reaction counts, and conversation threads.

- Type: write · Key: `fetch_video_comments`
- Requires: aweme_id
- Optional: count, cursor
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_video_comments" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_video_comments`

##### View X Recent Replies
View latest replies with commenter profiles, timestamps, engagement metrics, and page navigation.

- Type: write · Key: `fetch_x_latest_comments`
- Requires: tweet_id
- Optional: cursor
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_x_latest_comments" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_x_latest_comments`

##### Retrieve X Engagement Insights
Analyze post replies with commenter profiles, timestamps, engagement metrics, and reply counts.

- Type: write · Key: `fetch_x_post_comments`
- Requires: tweet_id
- Optional: cursor
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_x_post_comments" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_x_post_comments`

##### View X Repost Accounts
View reposting accounts with user profiles, follower counts, verification status, and bios.

- Type: write · Key: `fetch_x_retweet_users`
- Requires: tweet_id
- Optional: cursor
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_x_retweet_users" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_x_retweet_users`

##### Analyze X Post
Analyze post content with engagement metrics (likes, reposts, replies), author profile, and timestamps.

- Type: write · Key: `fetch_x_tweet_detail`
- Requires: tweet_id
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_x_tweet_detail" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_x_tweet_detail`

##### Display X Media Content
Display media posts with image/video URLs, dimensions, engagement metrics, and post context.

- Type: write · Key: `fetch_x_user_media`
- Requires: nothing
- Optional: screen_name, rest_id, cursor
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_x_user_media" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_x_user_media`

##### Summarize X Profile
Summarize user profile with follower/following counts, bio, verification badge, and activity metrics.

- Type: write · Key: `fetch_x_user_profile`
- Requires: username
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_x_user_profile" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_x_user_profile`

##### Inspect X User Replies
Inspect user replies with conversation threads, engagement metrics, timestamps, and original post context.

- Type: write · Key: `fetch_x_user_replies`
- Requires: username
- Optional: cursor
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_x_user_replies" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_x_user_replies`

##### Retrieve X User Content
Track user posts with engagement statistics, author context, timestamps, and page navigation.

- Type: write · Key: `fetch_x_user_tweets`
- Requires: nothing
- Optional: screen_name, rest_id, cursor
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "fetch_x_user_tweets" })`
- CLI: `npx zapier-sdk run-action tikhub write fetch_x_user_tweets`

##### Lookup YT Channel ID
Lookup channel ID and basic profile from channel name or custom URL.

- Type: write · Key: `get_youtube_channel_id`
- Requires: channel_name
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "get_youtube_channel_id" })`
- CLI: `npx zapier-sdk run-action tikhub write get_youtube_channel_id`

##### Summarize YT Channel
Summarize channel profile with subscriber count, video count, description, and channel metadata.

- Type: write · Key: `get_youtube_channel_info`
- Requires: channel_id
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "get_youtube_channel_info" })`
- CLI: `npx zapier-sdk run-action tikhub write get_youtube_channel_info`

##### Retrieve YT Short Videos
Browse Shorts content with view counts, titles, thumbnails, and publication dates.

- Type: write · Key: `get_youtube_channel_short_videos`
- Requires: channel_id
- Optional: continuation_token
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "get_youtube_channel_short_videos" })`
- CLI: `npx zapier-sdk run-action tikhub write get_youtube_channel_short_videos`

##### Retrieve YT Channel Content V2
Browse channel videos with view counts, duration, thumbnails, titles, and upload dates.

- Type: write · Key: `get_youtube_channel_videos`
- Requires: channel_id
- Optional: lang, sortBy, contentType, nextToken
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "get_youtube_channel_videos" })`
- CLI: `npx zapier-sdk run-action tikhub write get_youtube_channel_videos`

##### Retrieve YT Engagement Insights V2
Examine viewer comments with author details, timestamps, like counts, and reply threads.

- Type: write · Key: `get_youtube_video_comments`
- Requires: video_id
- Optional: lang, sortBy, nextToken
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "get_youtube_video_comments" })`
- CLI: `npx zapier-sdk run-action tikhub write get_youtube_video_comments`

##### Analyze YT Video
Analyze video performance with views, likes, comments, channel context, duration, and media links.

- Type: write · Key: `get_youtube_video_info`
- Requires: video_id
- Optional: url_access, lang, videos, audios, subtitles, related
- SDK: `runAction({ app: "tikhub", actionType: "write", action: "get_youtube_video_info" })`
- CLI: `npx zapier-sdk run-action tikhub write get_youtube_video_info`

## Frequently asked questions about automating with Facebook Pages and TikHub

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Facebook Pages integrations: zapier.com/apps/facebook-pages/integrations.md
- TikHub integrations: zapier.com/apps/tikhub/integrations.md
- Full page: zapier.com/apps/facebook-pages/integrations/tikhub
- SDK: npmjs.com/package/@zapier/zapier-sdk