Category : botman

I started a new project with Botman Studio composer create-project –prefer-dist botman/studio test then I do update cd test composer up and then installed drivers : facebook and telegram . composer require botman/driver-facebook composer require botman/driver-telegram done with installing then I do php artisan key:gen php artisan serve I go to localhost , it works ..

Read more

how to solve that issue, please? I have created a website then after inserting records in the database with images, then those images are not displaying as I want. https://www.dropbox.com/s/ov7phzh1v636d95/pages.PNG?dl=0 https://www.dropbox.com/preview/My%20PC%20%28Mupenzi-Furaha%29/Pictures/page.PNG errors are: DevTools failed to load SourceMap: Could not load content for http://127.0.0.1:8000/js/bootstrap.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE. Failed to load resource: the ..

Read more

am Beginner in Facebook Messenger Bot (Laravel BotMan) i want to create a fb Chatbot which will interact with my laravel website, i have like Facebook Page, Heroku and Github Accounts which will maybe help me reach on it’s realization and am blocked to poursuit within it’s creation i need your help please. these are ..

Read more

Controller: ?php namespace AppHttpControllers; use BotManBotManBotMan; use IlluminateHttpRequest; use BotManBotManMessagesIncomingAnswer; class ChatbotController extends Controller { public function handle() { $botman = app(‘botman’); $botman->hears(‘hi’, function($bot) { $this->askName($botman); }); $botman->hears(‘{message}’, function($botman, $message) { if ($message == ‘Something electronic like a phone or TV’) { $this->tree1($botman); }elseif($message == ‘A trip to my favorite destination’){ $this->tree2($botman); } elseif($message == ..

Read more

I am getting this error: Error sending payload: The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication. {"exception":"[object] (BotManDriversFacebookExceptionsFacebookException(code: 0) my Botman Laravel was working normally but it stopped suddenly ..

Read more

$this->bot->hears(‘[sS]+’,function(BotMan $bot){ $input = $bot->getMessage()->getText(); $k = Keyboard::create()->type( Keyboard::TYPE_KEYBOARD ) ->oneTimeKeyboard(true) ->addRow( KeyboardButton::create("Cat")->callbackData(‘c’), KeyboardButton::create("Dog")->callbackData(‘d’) ) ->toArray(); if ($bot->getcallbackData() == ‘c’)//Here I need to check callbackData from clicked button { $bot->reply(‘you clicked on Cat’); } else { $bot->reply(‘you clicked on Dog’); } }); getcallbackData() function is not exists in botman but i put it to Clarify ..

Read more

BotMan Version: 2.0 PHP Version: 7.2 Messaging Service(s):Messenger Description: how could I connect a Messenger chatbot to multiple Facebook pages. i find this topic: https://github.com/botman/botman/issues/865 But i can not use. Can someone provide a ready code. Documentation: https://botman.io/2.0/welcome Github: https://github.com/botman/studio Facebook Driver: https://github.com/botman/driver-facebook Sourc..

Read more

BotMan Version: 2.6 PHP Version: 7.3.23 Laravel Version : 7.16.1 Cache Driver: LaravelCache i’m using botman for telegram bot. everything is ok with botman just the conversation cache time is not working. this is my botman Configuration code : use BotManBotManCacheLaravelCache; use BotManBotManDriversDriverManager; use BotManBotManBotManFactory; $config = [ // Your driver-specific configuration "botman" => [ ..

Read more

So, I’ve A working and verified ‘page_messaging’ permitted Facebook App. Two Botman projects in a different domain. Project A and Project B What I want is, My webhook url in facebook webhook is https:://mydomain.com/bot So whenever Facebook send any message to my this url its going to my Project A ! What I’m doing is ..

Read more