การอบรม การสร้างระบบสนทนาอัจฉริยะ (Chatbot) บนแอปพลิเคชั่นไลน์


DAY 2

https://admin-official.line.me/

line://nv/location

line://nv/camera/

USER_SHARE_IMAGE
___XTEXT___ ###SHAREDIMAGE###



USER_SHARE_LOCATION 
___THAIAQI___ $###USERLOCATION###


ขั้นตอนการทำ

https://modcumram.com/linebot/botdata/Uefe32db4208e1cc38100e1b93ced491e//2019-03-25/2019-03-25-110332.jpg

https://admin-official.line.me/14423193/contents/hash/eo%252BqhLhlshU8WjKr3%252Fl9zSm%252F3neyy1RFUzHujODK2W3Y2E71U5Gw9wqYKMvvKgYC%252BU%252F30FSj%252BITUy3vJ4RjSwZ%252F1DzRIt4PzJzjNeBghck%252BtLxyUSsWSok2Mqg2fpx1k%252FhO206bocHpgTXbz5e%252BP%252FLktk1B32pM21Xu5W3f5Hm7mrZ5E4iMqn3VjdGwlDD7s75l2Z304CCuq1rAHtGG9dACWr%252F62ZLKAKMNVHS%252FvkMWMdx5XowkthPHRYKZmnXZSnp4u73MIv6cbEVKHCZcufvGnsYev1gSRnNpfIt4sBqc%253D.jpg






1. https://developers.line.biz/

คู่มือ https://abdul.in.th/dl/ABDUL-Platform-Mannaul-v2.pdf


2. https://abdul.in.th/abdul

วันพระ
คำถาม   วันพระ
___IMG___ https://modcumram.com/liff/monk03.jpg

วันรับเงินเดือน
___IMG___ https://modcumram.com/linebot/botdata/Ucdbdd1bc014225b287c2e0951e8ee02b//2018-12-27/2018-12-27-011241.jpg

วันที่หยุดได้
___IMG___ https://modcumram.com/holiday.png


GOOGLE
คำถาม : บทความ *
___CSEARCH___$ *  site:https://havespirit.blogspot.com

เอกสาร *
___CSEARCH___$ *  site:dl.parliament.go.th

ค้นหา *
___CSEARCH___$*

XRSS
คำถาม :  ข่าวสนุก
___XRSS___ $http://rssfeeds.sanook.com/rss/feeds/sanook/news.index.xml->guid,link,pubDate

คำถาม : ข่าว thairath
___XRSS___ $https://www.thairath.co.th/rss/news->title,description,link,pubDate

หนังใหม่
___XRSS___ $https://www.movie2free.com/feed/->title,link

pantip blueplanet
___XRSS___ $https://pantip.com/forum/blueplanet/feed->title,description,link

พยากรณ์อากาศกรุงเทพ
___XRSS___ $http://www.tmd.go.th/xml/region_daily_forecast.php?RegionID=7->title,description,link

API
ราคน้ำมัน     ___OILPRICE___
ราคาทอง   ___GOLDPRICE___
อากาศ     ___WORLDWEATHER___
วันนี้ในอดีต   ___TODAY___


……………………..


ข้อความ

รัฐธรรมนูญ
http://www.ratchakitcha.soc.go.th/DATA/PDF/2560/A/040/1.PDF

ข้อบังคับการประชุม สนช htp://www.senate.go.th/w3c/senate/pdf/ratchakitcha2557.pdf

………………..
json

รถเมล์สาย 3
___XJSON___ $http://bmta.2fellows.com/version2/index.php/searchmap/markershow1?id=797->array:stop_name

Wiki  *
___XJSON___ $https://th.wikipedia.org/w/api.php?action=query&list=search&format=json&srwhat=text&srlimit=2&srsearch=*->object>array:query>snippet


============== flex =======

{
"type": "template",
"altText": "บทความดีดีสร้างแรงบันดาลใจ",
"template": {
"type": "carousel",
"actions": [],
"columns": [
{
"thumbnailImageUrl": "https://sirichaiwatt.com/wp-content/uploads/2017/08/%E0%B8%84%E0%B8%B3%E0%B8%84%E0%B8%A1%E0%B8%94%E0%B8%B5%E0%B9%86-sirichaiwatt-01-1.jpg",
"title": "บทความดีดี สร้างแรงบันดาลใจ",
"text": "คำคมดีๆ คิดมาให้คิดไป รวม 8",
"actions": [
{
"type": "uri",
"label": "ดูรายละเอียด",
"uri": "https://sirichaiwatt.com/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%94%E0%B8%B5%E0%B9%86/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%99%E0%B9%88%E0%B8%B2%E0%B8%AD%E0%B9%88%E0%B8%B2%E0%B8%99/%E0%B8%84%E0%B8%B3%E0%B8%84%E0%B8%A1%E0%B8%94%E0%B8%B5%E0%B9%86/%E0%B8%84%E0%B8%B3%E0%B8%84%E0%B8%A1-%E0%B8%84%E0%B8%B4%E0%B8%94%E0%B8%A1%E0%B8%B2%E0%B9%83%E0%B8%AB%E0%B9%89%E0%B8%84%E0%B8%B4%E0%B8%94%E0%B9%84%E0%B8%9B-%E0%B8%A3%E0%B8%A7%E0%B8%A1-8"
}
]
},
{
"thumbnailImageUrl": "https://sirichaiwatt.com/wp-content/uploads/2016/04/%E0%B8%84%E0%B8%B3%E0%B8%84%E0%B8%A1-sirichaiwatt-01.jpg",
"title": "บทความดีดี สร้างแรงบันดาลใจ",
"text": "ศักยภาพของเรา",
"actions": [
{
"type": "uri",
"label": "ดูรายละเอียด",
"uri": "https://sirichaiwatt.com/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%94%E0%B8%B5%E0%B9%86/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9E%E0%B8%B1%E0%B8%92%E0%B8%99%E0%B8%B2%E0%B8%95%E0%B8%99%E0%B9%80%E0%B8%AD%E0%B8%87/%E0%B8%A8%E0%B8%B1%E0%B8%81%E0%B8%A2%E0%B8%A0%E0%B8%B2%E0%B8%9E%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B9%80%E0%B8%A3%E0%B8%B2"
}
]
},
{
"thumbnailImageUrl": "https://sirichaiwatt.com/wp-content/uploads/2016/10/Sirichaiwatt-Post-head-01.jpg",
"title": "บทความดีดี สร้างแรงบันดาลใจ",
"text": "เบื่อวันจันทร์ เป็นสัญญาณที่ไม่ดี",
"actions": [
{
"type": "uri",
"label": "ดูรายละเอียด",
"uri": "https://sirichaiwatt.com/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%94%E0%B8%B5%E0%B9%86/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9E%E0%B8%B1%E0%B8%92%E0%B8%99%E0%B8%B2%E0%B8%95%E0%B8%99%E0%B9%80%E0%B8%AD%E0%B8%87/%E0%B9%80%E0%B8%9B%E0%B8%A5%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%99%E0%B8%97%E0%B8%B1%E0%B8%A8%E0%B8%99%E0%B8%84%E0%B8%95%E0%B8%B4/%E0%B9%80%E0%B8%9A%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%A7%E0%B8%B1%E0%B8%99%E0%B8%88%E0%B8%B1%E0%B8%99%E0%B8%97%E0%B8%A3%E0%B9%8C-%E0%B9%80%E0%B8%9B%E0%B9%87%E0%B8%99%E0%B8%AA%E0%B8%B1%E0%B8%8D%E0%B8%8D"
}
]
},
{
"thumbnailImageUrl": "https://sirichaiwatt.com/wp-content/uploads/2017/10/%E0%B8%A5%E0%B8%B4%E0%B9%89%E0%B8%99%E0%B8%8A%E0%B8%B1%E0%B8%812%E0%B9%83%E0%B8%9A%E0%B9%83%E0%B8%99%E0%B9%83%E0%B8%88.jpg",
"title": "บทความดีดี สร้างแรงบันดาลใจ",
"text": "ลิ้นชัก 2 ใบ ในใจเรา",
"actions": [
{
"type": "uri",
"label": "ดูรายละเอียด",
"uri": "https://sirichaiwatt.com/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%94%E0%B8%B5%E0%B9%86/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9E%E0%B8%B1%E0%B8%92%E0%B8%99%E0%B8%B2%E0%B8%95%E0%B8%99%E0%B9%80%E0%B8%AD%E0%B8%87/%E0%B9%80%E0%B8%A3%E0%B8%B2%E0%B8%84%E0%B8%A7%E0%B8%A3%E0%B8%A1%E0%B8%B5%E0%B8%A5%E0%B8%B4%E0%B9%89%E0%B8%99%E0%B8%8A%E0%B8%B1%E0%B8%81-2-%E0%B9%83%E0%B8%9A%E0%B9%83%E0%B8%99%E0%B9%83%E0%B8%88"
}
]
},
{
"thumbnailImageUrl": "https://sirichaiwatt.com/wp-content/uploads/2015/04/nong-q-01-01.jpg",
"title": "บทความดีดี สร้างแรงบันดาลใจ",
"text": "5 ข้อคิดที่ทุกวันนี้เราควรที่จะต้องคอยระลึก",
"actions": [
{
"type": "uri",
"label": "ดูรายละเอียด",
"uri": "https://sirichaiwatt.com/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%94%E0%B8%B5%E0%B9%86/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9E%E0%B8%B1%E0%B8%92%E0%B8%99%E0%B8%B2%E0%B8%95%E0%B8%99%E0%B9%80%E0%B8%AD%E0%B8%87/5-%E0%B8%82%E0%B9%89%E0%B8%AD%E0%B8%84%E0%B8%B4%E0%B8%94%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%97%E0%B8%B8%E0%B8%81%E0%B8%A7%E0%B8%B1%E0%B8%99%E0%B8%99%E0%B8%B5%E0%B9%89%E0%B9%80%E0%B8%A3%E0%B8%B2%E0%B8%84"
}
]
},
{
"thumbnailImageUrl": "https://sirichaiwatt.com/wp-content/uploads/2018/03/SirichaiwattAtt-01-326x236.jpg",
"title": "บทความดีดี สร้างแรงบันดาลใจ",
"text": "การพัฒนาตนเองแบบขี้เกียจ ๆ",
"actions": [
{
"type": "uri",
"label": "ดูรายละเอียด",
"uri": "https://sirichaiwatt.com/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%94%E0%B8%B5%E0%B9%86/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9E%E0%B8%B1%E0%B8%92%E0%B8%99%E0%B8%B2%E0%B8%95%E0%B8%99%E0%B9%80%E0%B8%AD%E0%B8%87/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9E%E0%B8%B1%E0%B8%92%E0%B8%99%E0%B8%B2%E0%B8%95%E0%B8%99%E0%B9%80%E0%B8%AD%E0%B8%87%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B8%82%E0%B8%B5%E0%B9%89%E0%B9%80%E0%B8%81%E0%B8%B5%E0%B8%A2%E0%B8%88%E0%B9%86"
}
]
},
{
"thumbnailImageUrl": "https://sirichaiwatt.com/wp-content/uploads/2017/07/Sirichaiwatt-Alife-01.jpg",
"title": "บทความดีดี สร้างแรงบันดาลใจ",
"text": "ปรับปรุง = พัฒนา ใช่ไหม ?",
"actions": [
{
"type": "uri",
"label": "ดูรายละเอียด",
"uri": "https://sirichaiwatt.com/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%94%E0%B8%B5%E0%B9%86/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%99%E0%B9%88%E0%B8%B2%E0%B8%AD%E0%B9%88%E0%B8%B2%E0%B8%99/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B9%81%E0%B8%87%E0%B9%88%E0%B8%84%E0%B8%B4%E0%B8%94/%E0%B8%9B%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8%9B%E0%B8%A3%E0%B8%B8%E0%B8%87-%E0%B8%9E%E0%B8%B1%E0%B8%92%E0%B8%99%E0%B8%B2"
}
]
},
{
"thumbnailImageUrl": "https://sirichaiwatt.com/wp-content/uploads/2016/09/Sirichaiwatt-OSTC-01-326x236.jpg",
"title": "บทความดีดี สร้างแรงบันดาลใจ",
"text": "หลอกตัวเองว่ามีความสุข แล้วสุขจริงหรือ?",
"actions": [
{
"type": "uri",
"label": "ดูรายละเอียด",
"uri": "https://sirichaiwatt.com/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%94%E0%B8%B5%E0%B9%86/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%99%E0%B9%88%E0%B8%B2%E0%B8%AD%E0%B9%88%E0%B8%B2%E0%B8%99/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%98%E0%B8%A3%E0%B8%A3%E0%B8%A1%E0%B8%B0/%E0%B8%AB%E0%B8%A5%E0%B8%AD%E0%B8%81%E0%B8%95%E0%B8%B1%E0%B8%A7%E0%B9%80%E0%B8%AD%E0%B8%87%E0%B8%A7%E0%B9%88%E0%B8%B2%E0%B8%A1%E0%B8%B5%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%AA%E0%B8%B8%E0%B8%82"
}
]
}
]
}
}





=============

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

การทำ cloud iot ด้วย thingsboard ไว้ใช้เองครับ

การประยุกต์ใช้ line notify ในการแจ้งปัญหาการใช้งาน สำหรับ php

Send message to line when server down with python Line api (มอนิเตอร์ server แจ้งเตือนผ่าน Line)