Execute facebook location code

(Bryan Song) #1

Hi Am trying to execute this as a quick reply how do i execute it?
The documentation ref https://developers.facebook.com/docs/messenger-platform/send-api-reference/quick-replies

curl -X POST -H “Content-Type: application/json” -d ‘{
“recipient”:{
“id”:“USER_ID”
},
“message”:{
“text”:“Please share your location:”,
“quick_replies”:[
{
“content_type”:“location”,
}
]
}
}’ “https://graph.facebook.com/v2.6/me/messages?access_token=PAGE_ACCESS_TOKEN

(Kellsey Shaw) #2

Hi Bryan,

Sadly, we’re not yet able to receive locations. They are sent as a type of attachment that we don’t yet handle but it is something that we are looking into.

If you have any other type of quick reply or feature that we can handle but isn’t yet include with the platform (like the call button) then you would simply need to use the Webhook & HTTP request task.