Code Monkey home page Code Monkey logo

chatbot-php-boilerplate's People

Contributors

joebordes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatbot-php-boilerplate's Issues

Custom payload answer with Dialogflow

Hi !!
It seems that when an Dialogflow Intent has a custom payload as answer, the chatbot doesnt show it.

In my particular case, in many cases, I have only custom payload answers and when it happends, i dont get any answer from the bot.
If I add a text answer from Dialogflow console, the bot shows only the text answer and not the payload.

Any way to get the payload answer ?

Thanks

setup my webhook facebook issue

I have a simple issue when I am going to setup my webhook Facebook gives me following error:

The URL couldn't be validated. Response does not match challenge, expected value="1909028616", received="Error, wrong token"

Note that, I have correctly used git and Heroku.

Thank you

couldn't install composer

when i run composer install in terminal
it show Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for phpunit/php-code-coverage 4.0.1 -> satisfiable by phpunit/php-code-coverage[4.0.1].
- phpunit/php-code-coverage 4.0.1 requires php ^5.6 || ^7.0 -> your PHP version (5.5.31) does not satisfy that requirement.
Problem 2
- Installation request for phpunit/phpunit 5.5.0 -> satisfiable by phpunit/phpunit[5.5.0].
- phpunit/phpunit 5.5.0 requires php ^5.6 || ^7.0 -> your PHP version (5.5.31) does not satisfy that requirement.
Problem 3
- Installation request for phpunit/phpunit-mock-objects 3.2.3 -> satisfiable by phpunit/phpunit-mock-objects[3.2.3].
- phpunit/phpunit-mock-objects 3.2.3 requires php ^5.6 || ^7.0 -> your PHP version (5.5.31) does not satisfy that requirement.
Problem 4
- Installation request for sebastian/code-unit-reverse-lookup 1.0.0 -> satisfiable by sebastian/code-unit-reverse-lookup[1.0.0].
- sebastian/code-unit-reverse-lookup 1.0.0 requires php >=5.6 -> your PHP version (5.5.31) does not satisfy that requirement.
Problem 5
- Installation request for sebastian/object-enumerator 1.0.0 -> satisfiable by sebastian/object-enumerator[1.0.0].
- sebastian/object-enumerator 1.0.0 requires php >=5.6 -> your PHP version (5.5.31) does not satisfy that requirement.
Problem 6
- Installation request for sebastian/resource-operations 1.0.0 -> satisfiable by sebastian/resource-operations[1.0.0].
- sebastian/resource-operations 1.0.0 requires php >=5.6.0 -> your PHP version (5.5.31) does not satisfy that requirement.
Problem 7
- Installation request for sebastian/version 2.0.0 -> satisfiable by sebastian/version[2.0.0].
- sebastian/version 2.0.0 requires php >=5.6 -> your PHP version (5.5.31) does not satisfy that requirement.

Empty array from facebook messenger.

I just setup my first fb messenger bot using the instructions mentioned in the Readme File. I was able to setup the fb messenger without any errors but when I send a message from the admin user to the page, I get an empty array in the REQUEST.

I did receive payload when setting up a webhook as given below.

Array
(
[hub_mode] => subscribe
[hub_challenge] => 1998187613
[hub_verify_token] => netisen_fb_messenger_bot
)

But when I send a message to the page as a user. This is what I get:

Array
(
)

Please help me figure out what I might be doing wrong.

.env.example not included in repository

.env.example is referenced in the READme and .env utilized in the source code, but no example is contained in the repository. Possibly an accidental delete or just never included by accident?

does not want to install composer

hey can you provide me whole project because i doesn't want to install any software for that i just want to implement and learn how it works ?

No intent recognized

Hi,

I config your repository and it's work !

But I want to link my bot with wit.ai, and when I send a message to my bot, I got "The intent of the message: no intent recognized".

Of course, I made a story in wit.ai, my bot work in wit.ai platform but only on messenge, bot answers "The intent of the message: no intent recognized"

Thank

FILE MISSING

Warning: require_once(C:\xampp\htdocs\chatbot-php-boilerplate-master/vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\chatbot-php-boilerplate-master\index.php on line 3

Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\chatbot-php-boilerplate-master/vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\chatbot-php-boilerplate-master\index.php on line 3

Symfony integration

Hi, this is great stuff.

I would like to integrate this library to my Symfony project. Do you have any recommendation on how to do it? I am relatively new to Symfony and i've never used a non-bundle external dependency.

Many thanks.

Dialogflow Intent with multiple parameters / prompts

Hi @christophrumpel !!

I am developing a Facebook-Dialogflow chat bot with your code.
I got it work but I have one problem.

I created an Dialogflow intenet with multiple parameters.
Every parameter has, at least, one prompt question to get it value.
The problem, is that when this intent is reached, only the first "Prompt" question is showing and after answering it, the "Default Fallback" intent is triggering.
It seems like the chatbot doesnt follow the parameters flow of the intent.

Get Wit.AI Story Bot Answer

First of all, thank you very much for this awesome Repo.
I already tried the GetAnswer() function and I get the right intent.
Is there any way how I can get the Bot answers from my story?

autoload file missing in vendor folder??

Hello,

I get this error:

[12-Aug-2017 12:45:37 UTC] PHP Warning: require_once(/home/bambaaga/public_html/chatbot/vendor/autoload.php): failed to open stream: No such file or directory in /home/bambaaga/public_html/chatbot/index.php on line 3

Any idea where this vendor folder or autoload.php file will be?

Please let me know.

Thanks,
Bambaaga

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.