I was wondering if it is possible to have a messenger bot send you a youtube video link and generate a playable video inside messenger the same way you can if you paste a link inside the messenger. Right now my bot can send a message with a youtube link but it just sends it as text it doesn't generate a video recognizing the title, description etc. Any help would be appreciated.
Customers simply click the “Message” button on your Facebook page (or website) and a Messenger session is launched automatically, allowing them to type a question and begin chatting with your bot. With the right chatbot in place, virtually any customer interaction can be initiated and automated using Messenger.
You can find your bot link in the 'Insights' tab of the 'Home' section under the Facebook Channel (it's blue).
You can also send by OpenGraph. It will automatically display the video inside m.me chat window but in mobile iOS app, currently it redirects to youtube page:
curl -X POST -H "Content-Type: application/json" -d '{
"recipient":{
"id":"USER_ID"
},
"message":{
"attachment":{
"type":"template",
"payload":{
"template_type":"open_graph",
"elements":[
{
"url":"https://www.youtube.com/watch?v=y9A1MEbgLyA"
}
]
}
}
}
}' "https://graph.facebook.com/v2.6/me/messages?access_token=$TOKEN"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With