Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO: update documentation #106

Open
feralheart opened this issue Jun 22, 2020 · 1 comment
Open

TODO: update documentation #106

feralheart opened this issue Jun 22, 2020 · 1 comment

Comments

@feralheart
Copy link

Here I track what we should add to the Driver Documentation.

If you have any suggestions feel free to comment on this issue.

@anothermorena
Copy link

anothermorena commented Nov 8, 2020

Please create thorough documentation for those not using Botman Studio. I bought you video course hoping it will be there but its only demonstrating how to use Botman with Botman Studio . I am tried setting up the Facebook driver and its other features like below and its not working.

`$config = [
    //driver-specific configuration
     'facebook' => [
       'token' =>  $_ENV["FACEBOOK_TOKEN"],
       'app_secret' => $_ENV['FACEBOOK_APP_SECRET'],
       'verification'=>$_ENV['FACEBOOK_VERIFICATION'],
       'start_button_payload' => 'GET_STARTED',
       'greeting_text' => [
        'greeting' => [
            [
                'locale' => 'default',
                'text' => 'Hello!',
            ],
            [
                'locale' => 'en_US',
                'text' => 'Timeless apparel for the masses.',
            ],
        ],
    ],
    'persistent_menu' => [
      [
          'locale' => 'default',
          'composer_input_disabled' => 'true',
          'call_to_actions' => [
              [
                  'title' => 'My Account',
                  'type' => 'nested',
                  'call_to_actions' => [
                      [
                          'title' => 'Pay Bill',
                          'type' => 'postback',
                          'payload' => 'PAYBILL_PAYLOAD',
                      ],
                  ],
              ],
              [
                  'type' => 'web_url',
                  'title' => 'Latest News',
                  'url' => 'http://botman.io',
                  'webview_height_ratio' => 'full',
              ],
          ],
      ],
  ],

  ]
];`

Is there anything else I am supposed to do or require the classes for them since I can not install them with artisan?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants