Use Chatfuel to make chatbot look up gasoline prices (Chatfuel Part 3)

Tram Ho

Hello friends,

Probably you have read your part 2.

then today, I continue to introduce to you part 3, use Chatfuel to look up gas prices offline.

Come on, let’s get started

As with parts 1 and 2, the setup is quite simple. You go to the Automate menu, create a block called Gasoline Prices, in this tutorial I do with gasoline price lookup

Then you set up in the block is a JSON API like part 1, only we now change the URL.

You use the code below and use it for your hosting, here I code in PHP

After you run the above code in block json, the result will return like this. Wish success.

Share the news now

Source : Viblo