Call it
curl https://api.peume.com/v1/call/facebook-comment-replies-by-feedback-id \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"feedback_id": "ZmVlZGJhY2s6MzM3MzYxMzI5OTQ4Nzc1NV8xOTI5NTk0OTE3Njg3MTcz",
"expansion_token": "MjoxNzc4NjM1MDM3OgF_JaMa3kMP9RIWC....",
"cursor": "MToxNzc4NjM1MTIyOgF_w6rc3oH0HrKM2dLjla6A..."
}
}'const res = await fetch("https://api.peume.com/v1/call/facebook-comment-replies-by-feedback-id", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"feedback_id": "ZmVlZGJhY2s6MzM3MzYxMzI5OTQ4Nzc1NV8xOTI5NTk0OTE3Njg3MTcz",
"expansion_token": "MjoxNzc4NjM1MDM3OgF_JaMa3kMP9RIWC....",
"cursor": "MToxNzc4NjM1MTIyOgF_w6rc3oH0HrKM2dLjla6A..."
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/facebook-comment-replies-by-feedback-id",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"feedback_id": "ZmVlZGJhY2s6MzM3MzYxMzI5OTQ4Nzc1NV8xOTI5NTk0OTE3Njg3MTcz",
"expansion_token": "MjoxNzc4NjM1MDM3OgF_JaMa3kMP9RIWC....",
"cursor": "MToxNzc4NjM1MTIyOgF_w6rc3oH0HrKM2dLjla6A..."
}
},
)
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-comment-replies-by-feedback-id.
Parameters
feedback_idRequiredstringThe *feedback_id* of the comment. Be careful, this is not the comment id. You can get the feedback_id from the /v1/facebook/post/comments endpoint.
Example: ZmVlZGJhY2s6MzM3MzYxMzI5OTQ4Nzc1NV8xOTI5NTk0OTE3Njg3MTcz
expansion_tokenRequiredstringThe expansion_token of the comment. You can get the expansion_token from the /v1/facebook/post/comments endpoint.
Example: MjoxNzc4NjM1MDM3OgF_JaMa3kMP9RIWC....
cursorstringThe cursor to paginate to the next page
Example: MToxNzc4NjM1MTIyOgF_w6rc3oH0HrKM2dLjla6A...
