fbbotw.post_chat_extension_home_url

fbbotw.post_chat_extension_home_url(url, webview_share_button=’hide’, in_test=True)[source]

Sets the url field enabling a Chat Extension in the composer drawer in Messenger.

Parameters:
  • url (str) – The URL to be invoked from drawer.
  • webview_share_button (str) – Controls whether the share button in the webview is enabled. (Set to “show” or “hide”)
  • in_test (bool) – Controls whether public users (not assigned to the bot or its Facebook page) can see the Chat Extension.
Returns:

Response object

Facebook docs:

/home-url