Call Button
The Call Button can be used to initiate a phone call. This button can be used with the Button and Generic Templates.

Implementation
When calling the Send API, set the button type to phone_number and the payload to the phone number.
...
"buttons":[
{
"type":"phone_number",
"title":"Call Representative",
"payload":"+15105551234"
}
]
...
buttons Fields
| Property Name | Description | Type | Required |
|---|---|---|---|
| Type of button. Must be | String | Y |
| Button title, 20 character limit. | String | Y |
| Format must have "+" prefix followed by the country code, area code and local number. For example, | String | Y |
Example
curl -X POST -H "Content-Type: application/json" -d '{
"recipient":{
"id":"USER_ID"
},
"message":{
"attachment":{
"type":"template",
"payload":{
"template_type":"button",
"text":"Need further assistance? Talk to a representative",
"buttons":[
{
"type":"phone_number",
"title":"Call Representative",
"payload":"+15105551234"
}
]
}
}
}
}' "https://graph.facebook.com/me/messages?access_token=PAGE_ACCESS_TOKEN"

