Facebook API

Facebook Page API with Uchat

This comprehensive guide clarifies the functionality of Uchat's Facebook Page Actions, empowering you to manage your Facebook page content directly through Uchat.

Connecting with Facebook

  • Connect your Facebook Business Manager account in Integrations

  • Connect your Facebook account in the Facebook channel and link it to a bot

 

Inserting the Action Node into your flow

 

Insert an Action Node into your flow and go to Advanced Actions

 

Select Facebook API

 

Facebook Page API  Features through Uchat's Action Node

This guide clarifies the functionality of Facebook Page API Actions on UChat Platform, providing a clear understanding of each action's purpose.

 

List Page Posts: 

  • Obtain a list of posts currently published on your Facebook page. 

Get Page Post: 

  • Obtain a specific Facebook page post details.

 

Create Page Post: 

  • Publish new content to your Facebook page directly from Uchat.

 

 

Update Page Post: 

  • Update an existing post from your Facebook Page.

 

Delete Page Post: 

  • Delete an existing post from your Facebook page.

 

List Page Post Comments: 

  • Retrieves a list of comments for a specific post on your Facebook page. 

 

Get Comment: 

  • Get details of a specific comment from your Facebook Page. 

 

Reply to Comment: 

  • Reply to a comment on a post on your Facebook page. 

 

Update Comment: 

  • Edit an existing comment left on your Facebook page post.

 

Hide Comment: 

  • Hide a comment on an post on your Facebook page.

 

Like Comment:

  • Like a comment on an post on your Facebook page.

 

Delete Comment: 

  • Deletes a comment on an post on your Facebook page.

Page API

Create Image Post

Create an image post on your Facebook page. Enter the Photo URL in the placeholder to upload and post an image.

Facebook Page Ads

List Ads Posts

Retrieve a list of all ads posts. To find something specific, search by the ad ID or name.

Ads Post List Comments

Get a list of all comments on a specific ad post. Provide the ad post ID to retrieve its comments.

Ads Post Comment Reply

Reply to a comment on your ad post or add a new comment to the post.

  • To reply, provide the comment ID and your message.

  • To add a new comment, provide the post ID and your message.

 

 

 

 

 

List Lead Forms

Retrieve a list of all lead forms linked to your page. 

Get Lead Form Questions

View the questions in a lead form. Provide the lead form ID to get the list of questions.

List Lead Form Leads

Retrieve a list of all leads from a specific lead form. Provide the lead form ID to get the leads.

Get Lead Gen

Get the details of a specific lead. Provide the lead generation ID.

Facebook Group API (Deprecated)

Deprecated Actions

  • List Groups

  • Get Group Info

  • List Group Posts

  • Get Group Post Info

  • Create Group Post - Text

  • Create Group Post - Photo

  • List Group Post Comments

  • Get Comment

Note: These actions are deprecated and no longer be supported.

List Ad Accounts

Retrieve a list of all ad accounts.

Get Ad Account

Get details of a specific ad account. Provide the ad account ID.

Get Campaign

Retrieve details of a specific campaign. Provide the campaign ID.

List Custom Audiences

Get a list of all custom audiences.

Get Custom Audience

Retrieve details of a specific custom audience. Provide the custom audience ID.

Create an Empty Custom Audience

Create a new custom audience.

  • Ad account ID

  • Name

  • Description

  • Subtype (Default: CUSTOM; Examples: CUSTOM, WEBSITE, APP, LOOKALIKE)

  • Is value-based (Default: false; Examples: true, false)

  • Pixel ID (associated with the audience)

Update Custom Audience

Update the name and description of an existing custom audience. Provide the custom audience ID, new name, and description.

 

Delete Custom Audience

Delete a custom audience. Provide the custom audience ID.

Add Current Facebook User to Custom Audience

Add the current user in the flow to a custom audience. Provide the custom audience ID.

Add User to Custom Audience By Email

To add a user to a custom audience using their email, provide the custom audience ID and the user’s email.

Add User to Custom Audience By Phone

Add a user to a custom audience using their phone number. Provide the custom audience ID and the user’s phone number.

Remove Current Facebook User from Custom Audience

Remove the current user in the flow from a custom audience. Provide the custom audience ID.

Remove User from Custom Audience By Email

Remove a user from a custom audience using their email. Provide the custom audience ID and the user’s email.

Remove User from Custom Audience By Phone

Remove a user from a custom audience using their phone number. Provide the custom audience ID and the user’s phone number.

Video Tutorial

https://youtu.be/S689f-oopgk