Call it
curl https://api.peume.com/v1/call/facebook-post-or-reel-comments-by-url \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://www.facebook.com/reel/753347914167361",
"feedback_id": "ZmVlZGJhY2s6MTQ0NzY1NjMyMzM4Mzg0OA==",
"cursor": "MToxNzU3MTA2NzYyOgF1P1VkxpkA9Ds4..."
}
}'const res = await fetch("https://api.peume.com/v1/call/facebook-post-or-reel-comments-by-url", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "https://www.facebook.com/reel/753347914167361",
"feedback_id": "ZmVlZGJhY2s6MTQ0NzY1NjMyMzM4Mzg0OA==",
"cursor": "MToxNzU3MTA2NzYyOgF1P1VkxpkA9Ds4..."
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/facebook-post-or-reel-comments-by-url",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"url": "https://www.facebook.com/reel/753347914167361",
"feedback_id": "ZmVlZGJhY2s6MTQ0NzY1NjMyMzM4Mzg0OA==",
"cursor": "MToxNzU3MTA2NzYyOgF1P1VkxpkA9Ds4..."
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: facebook-post-or-reel-comments-by-url.
Parameters
urlstringFacebook post URL (or reel URL)
Example: https://www.facebook.com/reel/753347914167361
feedback_idstringUsing feedback_id (instead of url) will *really* speed up the request. You can get the feedback_id when you make a request to /v1/facebook/post.
Example: ZmVlZGJhY2s6MTQ0NzY1NjMyMzM4Mzg0OA==
cursorstringCursor to get more comments. Get 'cursor' from previous response.
Example: MToxNzU3MTA2NzYyOgF1P1VkxpkA9Ds4...
Other ways to do it
Same job, other sources, cheapest first.
