部分中斷share-external
POST /v18.0/{page-id}/feed returns error, but the post is successfully published
9

When trying to publish a post containing link information in the message, the post is successfully published, but the API returns an error response.

As a result, the user cannot confirm the error details and cannot determine whether the post was successfully published or not.

Expected Behavior: If the post is successfully published, I expect a success response instead of an error response.

API Endpoint

POST /{page-id}/feed

Reference: https://developers.facebook.com/docs/graph-api/reference/v21.0/page/feed#publish

Request Sample

{
  "message": "message https://www.example.com",
  "link": "https://www.example.com",
  "child_attachments": [
    {
      "link": "https://www.example.com",
      "name": "Link title",
      "picture": "https://s3-ap-northeast-1.amazonaws.com/post-image/a0e0b694-35db-4225-89ab-6d21e89e3ad8.jpeg",
      "description": "Link description",
      "call_to_action": {
        "type": "NO_BUTTON"
      }
    }
  ],
  "multi_share_end_card": false
}

Response Sample

"error": {
        "code": 1,
        "message": "An unknown error occurred"
    }
菊地 さや
已發問 約 1 個月前
已選擇的回答
4

Same issue. https://developers.facebook.com/community/threads/2413964148949352/

10月22日下午8:14
菊地 さや
已選擇的回答
1

https://developers.facebook.com/community/threads/2413964148949352/

10月24日上午5:32
Vann
1

https://developers.facebook.com/community/threads/2413964148949352/

10月24日上午5:32
Vann
2

We are experiencing the same issue on API v16.

10月23日上午1:08
Jacek