Show Images in Facebook Messenger

Hi,

I was testing the Facebook Messenger messages templates and I detect two issues.

The first one is: How can I show images to the user that aren’t in Facebook? I know that is possible because I’ve already developed other chatbots in other platforms and it works if I send the follow JSON to messenger:

const externalMedia = (type, url) => {
return {
“channelData”: {
“attachment”: {
“type”: type,
“payload”: {
“url”: url,
“is_reusable”:true
}
}
}
}
}

The second problem that I found, was the Open Graph template. It’s not working…

Thanks for the help,
Ruben

Hi @ruben.costa,

For the above use case, first you will need to upload image to Facebook. Then you can display in media API.

You cannot directly show images to the user that aren’t in Facebook.