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

Messenger Workshop @ #NTW2018 #1

Open
profnandaa opened this issue Apr 19, 2018 · 23 comments
Open

Messenger Workshop @ #NTW2018 #1

profnandaa opened this issue Apr 19, 2018 · 23 comments

Comments

@profnandaa
Copy link
Contributor

profnandaa commented Apr 19, 2018

Nairobi Tech Week | 2018 - http://nairobitechweek.com/

Workshop at Sir Thomas More, Room B02
4.00 - 5.00 PM
Presenter: yours truly
  • Get the presentation here
  • See set up instructions here

Any questions or further material will be provided in the comments below.

Short link to this: bit.ly/messenger-at-ntw-2018

@profnandaa profnandaa changed the title Presentation at #NTW2018 Messenger Workshop at #NTW2018 Apr 19, 2018
@profnandaa profnandaa changed the title Messenger Workshop at #NTW2018 Messenger Workshop @ #NTW2018 Apr 19, 2018
@Antoh1
Copy link

Antoh1 commented Apr 19, 2018

Good stuff, Its been an awesome session on bots

@dmithamo
Copy link

dmithamo commented Apr 19, 2018

Does creating a messenger bot require me to develop my own security apparatus, or is that handled by Facebook Messenger? That is, is security my concern, or Facebook Messenger's concern?

@iamukasa
Copy link

Python tutorials and demos https://github.com/conbus/fbmq/tree/master/example
moving this twitter bot there too https://twitter.com/shtaki_ke/media
Source Code https://github.com/iamukasa/fast-style-transfer-1

@JuneMuoti
Copy link

loving this

@CharlesKitonga
Copy link

is it possible to integrate facebook bot with laravel?

@Kollynce
Copy link

enjoyed this session

@danuluma
Copy link

I deleted facebook......can I still create bots without a facebook account?

@profnandaa profnandaa mentioned this issue Apr 19, 2018
@Benedict-Mambo
Copy link

@danuluma No. You need to have a facebook account and a page for that matter. So, go ahead and create a facebook account to create your bot.

@Benedict-Mambo
Copy link

@Kyerloh yes, just create your app with laravel, and have a webhook to communicate with messenger.

@profnandaa
Copy link
Contributor Author

profnandaa commented Apr 19, 2018

@jamienjoroge - Moving your question here:

Hey Was wondering if after the user interacts and gives the permission to allow the bot to conversate could the bot still message the user regularly without the user actually engaging with the bot.

Good q, see the details here - https://developers.facebook.com/docs/messenger-platform/policy/policy-overview#standard_messaging TL;DR -

"Businesses and developers using the Send API have up to 24 hours to respond to a message sent by a person in Messenger when using standard messaging. A bot may also send one additional message after the 24-hour time limit has expired. The 24-hour limit is refreshed each time a person responds to a business through one of the eligible actions listed in Messenger Conversation Entry Points. This is commonly referred to as the '24 + 1 policy'."

Hope this answers?

@Benedict-Mambo
Copy link

@dmithamo for security 101, just make sure your app is secure :)

@CharlesKitonga
Copy link

@Benedict-Mambo Thank you... will do that

This was referenced Apr 19, 2018
Closed
@Kollynce
Copy link

Does this means that the Bots can only be implemented on Facebook and not any other site

@profnandaa
Copy link
Contributor Author

Resharing @MainaCal 's post #3 :

consider tranlstion from online sites like google translate and localizer
localizer at https://bit.ly/2qKNPug
google translate on telegram at https://bit.ly/2qGZTwG

@Benedict-Mambo
Copy link

Benedict-Mambo commented Apr 19, 2018

@Kollynce No, you can build your bot on any service/site, not just facebook.

It depends on the use case / problem you are trying to solve. Don't limit yourself to Facbook :)

@Kollynce
Copy link

@Benedict-Mambo thanks for that

@profnandaa
Copy link
Contributor Author

@Kyerloh

is it possible to integrate facebook bot with laravel?

Not a good idea though, it will be more of an overkill. I'll advise that you use Laravel (and more so Lumen) for your API that the bot will be interacting with. For your bot, choose a light-weight framework. There's none for PHP that I've worked with, but I will always recommend bootbot for Node.js (what we're using here). I can look up one for PHP, if you prefer to keep your language unified across your backends.

To demonstrate this setup, here is a sketch:
screen shot 2018-04-19 at 9 46 58 pm

Let me explain:

  • You can build a basic backend that will power your bot (mainly acting like a controller), but leave the real logic in your API backend (perhaps built with Laravel / Lumen)
  • The advantage of this is that you will have one API backend to serve both your bot and other web apps (and or mobile apps), etc.
    I've used this architecture before and has worked well for me. My bot on Node.js and API backend of Lumen.

@DavidNgugi
Copy link

You can use Botman for PHP

@DavidNgugi
Copy link

Here's the link https://github.com/botman/botman

@profnandaa
Copy link
Contributor Author

profnandaa commented Apr 19, 2018

@DavidNgugi - thanks for sharing! The power of crowd-sourcing right there 👍 Let me check it out.

UPDATE - checked it out, looks like the real deal! Some awesome stuff! 🔥

@Benedict-Mambo
Copy link

@profnandaa thanks for your open explanation about use of Laravel very well understood. 👍

@josephwambura
Copy link

Following slowly down here Dec, 2018... lemme try it

@profnandaa
Copy link
Contributor Author

profnandaa commented Dec 5, 2018 via email

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

No branches or pull requests