I need the image container id to post to post the image with the endpoint: POST https://graph.facebook.com/{api-version}/{ig-user- id}/media_publish=id_contain. why does this behavior happen?
{
"image_url": "https://cdn.pixabay.com/photo/2017/05/21/14/19/landscape-2331416_960_720.jpg"
}
==== Response
{
"error": {
"message": "Unsupported post request. Object with ID 'me' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "ANY1h6JKvBrqmFHKgC_Ag"
}
}
If anyone can help me with this I would be grateful.
/me
, according to your screenshot - so where is themedia_publish
endpoint part?me?media
andme/media
are two different things.