Search for Resources and Solutions

Webhooks for Tchatbot

The Tchatbot app uses the webhooks to receive messages and posts. If you have installed the Inbox app, you don't need to take care about the webhooks configuration. Just update the Inbox app.

If you're not using the Inbox app, go to application/config/config.php and add this code:

$config['csrf_exclude_uris'] = array('guest/tchatbot');

But first search for $config['csrf_exclude_uris'], if exists, ad only 'guest/tchatbot':

$config['csrf_exclude_uris'] = array('other value', 'guest/tchatbot');

Was this article helpful?