rramakrishnaa
rramakrishnaa

Reputation: 827

How to send phone link in facebook messenger bot button?

I am trying to send a link of the form "tel:xxxxxxxxxx" to the button template in facebook messenger platform API. I am getting an error that the url is of invalid type.

Is there any way of sending the telephone link using the messenger platform API?

Upvotes: 2

Views: 1603

Answers (1)

Guru A
Guru A

Reputation: 61

Facebook released an update to the button template recently. You can now specify type = phone_number . Pay load should be the phone number (prefixed by +, isd code and area code. Example +15555555555).

You can find more info here.

https://developers.facebook.com/docs/messenger-platform/send-api-reference/button-template

Guru

Upvotes: 2

Related Questions