DevelopersLive

Facebook Page API: publish Page posts and handle comments programmatically.

With the facebook scope, list Page posts, publish feed posts, read comments on a post and reply to comments on the connected Facebook Page.

See pricing
POST /api/whatsapp/messagesDemo
curl https://api.nexlerai.com/v1/messages \
  -H "Authorization: Bearer nx_live_••••" \
  -d '{
    "to": "+14155550123",
    "template": "order_update",
    "variables": ["Asha", "#1042"]
  }'

201 Created
{ "id": "msg_8f2c", "status": "queued" }

Sample data shown for illustration.

Overview

What Facebook API does

The Facebook API connects external editorial or support tools to the Page linked to your workspace.

Publish a feed post with a message or link (one is required); scheduled posts must be at least 10 minutes out. Read comments on any post and reply to them — useful for routing comments into your own support queue.

Step by step

How it works

  1. 1

    Create a facebook-scoped key

    In Settings → Developer API keys.

  2. 2

    Publish

    POST /api/facebook/feed with a message or link.

  3. 3

    Read comments

    GET /api/facebook/posts/:postId/comments.

  4. 4

    Reply

    POST /api/facebook/comments/:commentId/replies.

In the product

See it in action

app.nexlerai.com / inbox
Asha Verma ● online
AI replying
Hi! Is the blue one in stock? I need it by Friday.
Yes, 12 left in your size. Order today and it ships tomorrow.
Blue Runner
$49 · In stock
Type a reply…
Illustration with sample data

Sample data shown for illustration.

app.nexlerai.com / automations / cart-recovery
Trigger
Cart left for 1 hour
Wait
Then check the order is still unpaid
Send WhatsApp
“You left something behind” + 10% code
Live1,204 entered212 recovered · $6.1k
Illustration with sample data

Sample data shown for illustration.

Reference

Endpoints

GET/api/facebook/posts

List Page posts.

POST/api/facebook/feed

Publish a feed post. One of message or link is required; scheduled posts must be at least 10 minutes out.

GET/api/facebook/posts/:postId/comments

List comments on a post.

POST/api/facebook/comments/:commentId/replies

Reply to a comment.

Publish a posthttp
POST /api/facebook/feed
Authorization: Bearer nxk_live_your_key_here

{
  "message": "Our monsoon collection just landed — link in bio.",
  "published": true
}

# 200 → { "success": true, "data": { "id": "1234567890_9876543210" } }

About the author

Nexlerate Technologies Pvt LtdParent company, NexlerAI

Nexlerate Technologies Pvt Ltd is the parent company and engineering team behind NexlerAI. The company builds on the official WhatsApp Cloud API, Meta’s Instagram and Messenger platforms, and the Shopify app ecosystem, and writes these guides from how the product works today.

Start with the free Starter plan.

Connect your workspace first, then upgrade to Growth or Scale when you need more stores, seats and revenue workflows.