{"id":244,"date":"2020-04-11T10:35:37","date_gmt":"2020-04-11T03:35:37","guid":{"rendered":"https:\/\/help.bsru.ac.th\/?p=244"},"modified":"2020-09-02T14:30:31","modified_gmt":"2020-09-02T07:30:31","slug":"%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b8%87%e0%b8%b2%e0%b8%99-line-notify-%e0%b8%a3%e0%b9%88%e0%b8%a7%e0%b8%a1%e0%b8%81%e0%b8%b1%e0%b8%9a-php-c","status":"publish","type":"post","link":"https:\/\/help.bsru.ac.th\/?p=244","title":{"rendered":"\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Line Notify \u0e23\u0e48\u0e27\u0e21\u0e01\u0e31\u0e1a PHP &amp; C#"},"content":{"rendered":"<h3><strong>\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 <\/strong><strong>Token \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<\/strong><\/h3>\n<ol>\n<li>\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e23\u0e30\u0e1a\u0e1a\u0e17\u0e35\u0e48 <a href=\"https:\/\/notify-bot.line.me\">https:\/\/notify-bot.line.me<\/a>\u00a0 \u0e14\u0e49\u0e27\u0e22 Account Line<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-252 aligncenter\" src=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/1.png\" alt=\"\" width=\"908\" height=\"470\" srcset=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/1.png 908w, https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/1-300x155.png 300w, https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/1-768x398.png 768w\" sizes=\"auto, (max-width: 908px) 100vw, 908px\" \/><\/li>\n<li>\u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48 My Page \u0e41\u0e25\u0e30\u0e40\u0e25\u0e37\u0e2d\u0e01 Generate access token (For developers)<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-251 size-full aligncenter\" src=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/2.png\" alt=\"\" width=\"914\" height=\"541\" srcset=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/2.png 914w, https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/2-300x178.png 300w, https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/2-768x455.png 768w\" sizes=\"auto, (max-width: 914px) 100vw, 914px\" \/><\/li>\n<li>\u0e15\u0e31\u0e49\u0e07\u0e0a\u0e37\u0e48\u0e2d Token \u0e41\u0e25\u0e30 \u0e40\u0e25\u0e37\u0e2d\u0e01\u0e01\u0e25\u0e38\u0e48\u0e21\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 Token<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-250 size-full aligncenter\" src=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/3.png\" alt=\"\" width=\"462\" height=\"662\" srcset=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/3.png 462w, https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/3-209x300.png 209w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><\/li>\n<li>\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e44\u0e14\u0e49 Token \u0e41\u0e25\u0e49\u0e27 \u0e43\u0e2b\u0e49\u0e17\u0e33\u0e01\u0e32\u0e23 Copy \u0e44\u0e27\u0e49 \u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e32\u0e01\u0e23\u0e30\u0e1a\u0e1a \u0e08\u0e30\u0e44\u0e21\u0e48\u0e41\u0e2a\u0e14\u0e07 Token \u0e19\u0e35\u0e49\u0e43\u0e2b\u0e49\u0e40\u0e2b\u0e47\u0e19\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07 \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e43\u0e19\u0e44\u0e25\u0e19\u0e4c \u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19 line notify \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e19\u0e43\u0e2b\u0e21\u0e48 \u0e43\u0e2b\u0e49\u0e17\u0e33\u0e01\u0e32\u0e23 invite \u0e40\u0e02\u0e49\u0e32 \u0e44\u0e25\u0e19\u0e4c\u0e01\u0e25\u0e38\u0e48\u0e21\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-249 size-full aligncenter\" src=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/4.png\" alt=\"\" width=\"473\" height=\"415\" srcset=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/4.png 473w, https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/4-300x263.png 300w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><\/p>\n<h1><strong>\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e43\u0e2b\u0e49\u0e01\u0e31\u0e1a <\/strong><strong>Line notification<\/strong><\/h1>\n<h2><u>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e20\u0e32\u0e29\u0e32 <\/u><u>PHP \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21<\/u><\/h2>\n<pre class=\"well_syntax\">&lt;?php\r\n\r\ndefine('LINE_API',\"https:\/\/notify-api.line.me\/api\/notify\");\r\n\r\n$token = \"Un2LudBajEKlJs8I7qbWIMkl3f2WjGH56YuDJ9xxxxx\"; \/\/ \u0e43\u0e2a\u0e48Token \u0e17\u0e35\u0e48copy \u0e40\u0e2d\u0e32\u0e44\u0e27\u0e49\r\n\r\n$str = \"\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35\"; \/\/\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07 \u0e2a\u0e39\u0e07\u0e2a\u0e38\u0e14 1000 \u0e15\u0e31\u0e27\u0e2d\u0e31\u0e01\u0e29\u0e23\r\n\r\n&nbsp;\r\n\r\n$res = notify_message($str,$token);\r\n\r\nprint_r($res);\r\n\r\n&nbsp;\r\n\r\nfunction notify_message($message,$token){\r\n\r\n$queryData = array('message' =&gt; $message);\r\n\r\n$queryData = http_build_query($queryData,'','&amp;');\r\n\r\n$headerOptions = array(\r\n\r\n'http'=&gt;array(\r\n\r\n'method'=&gt;'POST',\r\n\r\n'header'=&gt; \"Content-Type: application\/x-www-form-urlencoded\\r\\n\"\r\n\r\n.\"Authorization: Bearer \".$token.\"\\r\\n\"\r\n\r\n.\"Content-Length: \".strlen($queryData).\"\\r\\n\",\r\n\r\n'content' =&gt; $queryData\r\n\r\n),\r\n\r\n);\r\n\r\n$context = stream_context_create($headerOptions);\r\n\r\n$result = file_get_contents(LINE_API,FALSE,$context);\r\n\r\n$res = json_decode($result);\r\n\r\nreturn $res;\r\n\r\n}\r\n\r\n?&gt;<\/pre>\n<h3>\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-248 size-medium alignleft\" src=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/5-300x57.png\" alt=\"\" width=\"300\" height=\"57\" srcset=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/5-300x57.png 300w, https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/5.png 424w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h2><\/h2>\n<h2><\/h2>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2><u>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e20\u0e32\u0e29\u0e32 <\/u><u>PHP \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21 \u0e41\u0e25\u0e30 \u0e2a\u0e15\u0e34\u0e01\u0e40\u0e01\u0e2d\u0e23\u0e4c<\/u><\/h2>\n<pre class=\"well_syntax\">&lt;?php\r\n\r\ndefine('LINE_API',\"https:\/\/notify-api.line.me\/api\/notify\");\r\n\r\n$token = \"Un2LudBajEKlJs8I7qbWIMkl3f2WjGH56YuDJ9xxxxx\"; \/\/ \u0e43\u0e2a\u0e48Token \u0e17\u0e35\u0e48copy \u0e40\u0e2d\u0e32\u0e44\u0e27\u0e49\r\n\r\n$str = \"\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35\"; \/\/\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07 \u0e2a\u0e39\u0e07\u0e2a\u0e38\u0e14 1000 \u0e15\u0e31\u0e27\u0e2d\u0e31\u0e01\u0e29\u0e23\r\n\r\n$stickerPkg = 2; \/\/stickerPackageId\r\n\r\n$stickerId = 34; \/\/stickerId\r\n\r\n&nbsp;\r\n\r\n$res = notify_messageAndSticker($str,$stickerPkg,$stickerId,$token);\r\n\r\nprint_r($res);\r\n\r\n&nbsp;\r\n\r\nfunction notify_messageAndSticker($message,$stickerPkg,$stickerId,$token){\r\n\r\n$queryData = array(\r\n\r\n'message' =&gt; $message,\r\n\r\n'stickerPackageId'=&gt;$stickerPkg,\r\n\r\n'stickerId'=&gt;$stickerId\r\n\r\n);\r\n\r\n$queryData = http_build_query($queryData,'','&amp;');\r\n\r\n$headerOptions = array(\r\n\r\n'http'=&gt;array(\r\n\r\n'method'=&gt;'POST',\r\n\r\n'header'=&gt; \"Content-Type: application\/x-www-form-urlencoded\\r\\n\"\r\n\r\n.\"Authorization: Bearer \".$token.\"\\r\\n\"\r\n\r\n.\"Content-Length: \".strlen($queryData).\"\\r\\n\",\r\n\r\n'content' =&gt; $queryData\r\n\r\n),\r\n\r\n);\r\n\r\n$context = stream_context_create($headerOptions);\r\n\r\n$result = file_get_contents(LINE_API,FALSE,$context);\r\n\r\n$res = json_decode($result);\r\n\r\nreturn $res;\r\n\r\n}?&gt;<\/pre>\n<h3>\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-247 size-medium alignleft\" src=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/6-300x163.png\" alt=\"\" width=\"300\" height=\"163\" srcset=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/6-300x163.png 300w, https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/6.png 392w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h2><\/h2>\n<h2><\/h2>\n<h2><\/h2>\n<h2><\/h2>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2><u>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e20\u0e32\u0e29\u0e32 <\/u><u>PHP \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21 \u0e41\u0e25\u0e30 \u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e<\/u><\/h2>\n<pre class=\"well_syntax\">&lt;?php\r\n\r\ndefine('LINE_API',\"https:\/\/notify-api.line.me\/api\/notify\");\r\n\r\n$token = \"Un2LudBajEKlJs8I7qbWIMkl3f2WjGH56YuDJ9xxxxx\"; \/\/ \u0e43\u0e2a\u0e48Token \u0e17\u0e35\u0e48copy \u0e40\u0e2d\u0e32\u0e44\u0e27\u0e49\r\n\r\n$str = \"\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35\"; \/\/\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07 \u0e2a\u0e39\u0e07\u0e2a\u0e38\u0e14 1000 \u0e15\u0e31\u0e27\u0e2d\u0e31\u0e01\u0e29\u0e23\r\n\r\n$imageThumbnail = \"https:\/\/f.ptcdn.info\/345\/051\/000\/oqd15uejqXy8Zr3LXWj-o.jpg\"; \/\/\u0e20\u0e32\u0e1e\u0e02\u0e19\u0e32\u0e14\u0e22\u0e48\u0e2d\r\n\r\n$imageFullsize = \"https:\/\/f.ptcdn.info\/345\/051\/000\/oqd15uejqXy8Zr3LXWj-o.jpg\"; \/\/ \u0e20\u0e32\u0e1e\u0e02\u0e19\u0e32\u0e14\u0e40\u0e15\u0e47\u0e21\r\n\r\n&nbsp;\r\n\r\n$res = notify_image($str,$imageThumbnail,$imageFullsize,$token);\r\n\r\nprint_r($res);\r\n\r\n&nbsp;\r\n\r\nfunction notify_image($message,$imageThumbnail,$imageFullsize,$token){\r\n\r\n$queryData = array(\r\n\r\n'message' =&gt; $message,\r\n\r\n'imageThumbnail'=&gt;$imageThumbnail,\r\n\r\n'imageFullsize'=&gt;$imageFullsize\r\n\r\n);\r\n\r\n$queryData = http_build_query($queryData,'','&amp;');\r\n\r\n$headerOptions = array(\r\n\r\n'http'=&gt;array(\r\n\r\n'method'=&gt;'POST',\r\n\r\n'header'=&gt; \"Content-Type: application\/x-www-form-urlencoded\\r\\n\"\r\n\r\n.\"Authorization: Bearer \".$token.\"\\r\\n\"\r\n\r\n.\"Content-Length: \".strlen($queryData).\"\\r\\n\",\r\n\r\n'content' =&gt; $queryData\r\n\r\n),\r\n\r\n);\r\n\r\n$context = stream_context_create($headerOptions);\r\n\r\n$result = file_get_contents(LINE_API,FALSE,$context);\r\n\r\n$res = json_decode($result);\r\n\r\nreturn $res;\r\n\r\n}?&gt;<\/pre>\n<h3>\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-246 size-medium\" src=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/7-300x241.png\" alt=\"\" width=\"300\" height=\"241\" srcset=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/7-300x241.png 300w, https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/7.png 307w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><\/h3>\n<h3><\/h3>\n<h3><\/h3>\n<h3><\/h3>\n<h3><\/h3>\n<h3><\/h3>\n<h3><\/h3>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3><\/h3>\n<h3><u>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e20\u0e32\u0e29\u0e32 <\/u><u>C#\u00a0<\/u><\/h3>\n<pre class=\"well_syntax\">\r\nvar request = (HttpWebRequest)WebRequest.Create(\"https:\/\/notify-api.line.me\/api\/notify\");\r\nvar postData = string.Format(\"message={0}\",\"\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35\");\r\nvar data = Encoding.UTF8.GetBytes(postData);\r\n\r\nrequest.Method = \"POST\";\r\nrequest.ContentType = \"application\/x-www-form-urlencoded\";\r\nrequest.ContentLength = data.Length;\r\n\r\nrequest.Headers.Add(\"Authorization\", \"Bearer Un2LudBajEKlJs8I7qbWIMkl3f2WjGH56YuDJ9xxxxx\");\r\n\r\nusing (var stream = request.GetRequestStream())\r\n{\r\nstream.Write(data, 0, data.Length);\r\n}\r\n\r\nvar response = (HttpWebResponse)request.GetResponse();\r\nvar responseString = new StreamReader(response.GetResponseStream()).ReadToEnd();\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h2><strong><u>Parameters \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49 \u0e2b\u0e32\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07\u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e \u0e41\u0e25\u0e30 Sticker \u0e43\u0e19 Function<\/u><\/strong><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-245 size-full\" src=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/8.png\" alt=\"\" width=\"922\" height=\"547\" srcset=\"https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/8.png 922w, https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/8-300x178.png 300w, https:\/\/help.bsru.ac.th\/wp-content\/uploads\/2020\/03\/8-768x456.png 768w\" sizes=\"auto, (max-width: 922px) 100vw, 922px\" \/><\/p>\n<p>\u0e08\u0e32\u0e01\u0e23\u0e39\u0e1b\u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e44\u0e14\u0e49\u0e27\u0e48\u0e32 \u0e19\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e21\u0e35 parameter \u0e17\u0e35\u0e48\u0e40\u0e1b\u0e47\u0e19 message \u0e41\u0e25\u0e49\u0e27\u0e22\u0e31\u0e07\u0e21\u0e35 parameter \u0e43\u0e2b\u0e49\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e43\u0e0a\u0e49\u0e17\u0e31\u0e49\u0e07 image \u0e41\u0e25\u0e30 sticker \u0e0b\u0e36\u0e48\u0e07 message \u0e21\u0e35\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e40\u0e1b\u0e47\u0e19 Required \u0e41\u0e25\u0e30\u0e17\u0e35\u0e48\u0e40\u0e2b\u0e25\u0e37\u0e2d\u0e40\u0e1b\u0e47\u0e19 Optional \u0e08\u0e36\u0e07\u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23\u0e1a\u0e31\u0e07\u0e04\u0e31\u0e1a\u0e27\u0e48\u0e32 LINE Notify \u0e15\u0e49\u0e2d\u0e07\u0e21\u0e35 message \u0e44\u0e1b\u0e14\u0e49\u0e27\u0e22\u0e40\u0e2a\u0e21\u0e2d<\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<h2><strong><u>Reference<\/u><\/strong><\/h2>\n<p><strong>LINE Notify API Document<\/strong><\/p>\n<p><a href=\"https:\/\/notify-bot.line.me\/doc\/en\/\">https:\/\/notify-bot.line.me\/doc\/en\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u0e2a\u0e48\u0e27\u0e19\u0e1b\u0e23\u0e30\u0e01\u0e2d\u0e1a\u0e02\u0e2d\u0e07 <\/strong><strong>sticker \u0e1b\u0e23\u0e30\u0e01\u0e2d\u0e1a\u0e14\u0e49\u0e27\u0e22 stickerPackageId \u0e41\u0e25\u0e30 stickerId<\/strong><\/p>\n<p><strong>\u0e14\u0e39\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01 <\/strong><strong>Sticker List Document<\/strong><\/p>\n<p><a href=\"https:\/\/devdocs.line.me\/files\/sticker_list.pdf\">https:\/\/devdocs.line.me\/files\/sticker_list.pdf<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 Token \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 \u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e23\u0e30\u0e1a\u0e1a\u0e17\u0e35\u0e48 https:\/\/notify-bot.line.me\u00a0 \u0e14\u0e49\u0e27\u0e22 Account Line \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48 My Page \u0e41\u0e25\u0e30\u0e40\u0e25\u0e37\u0e2d\u0e01 Generate access token (For developers) \u0e15\u0e31\u0e49\u0e07\u0e0a\u0e37\u0e48\u0e2d Token \u0e41\u0e25\u0e30 \u0e40\u0e25\u0e37\u0e2d\u0e01\u0e01\u0e25\u0e38\u0e48\u0e21\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 Token \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e44\u0e14\u0e49 Token \u0e41\u0e25\u0e49\u0e27 \u0e43\u0e2b\u0e49\u0e17\u0e33\u0e01\u0e32\u0e23 Copy \u0e44\u0e27\u0e49 \u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e32\u0e01\u0e23\u0e30\u0e1a\u0e1a \u0e08\u0e30\u0e44\u0e21\u0e48\u0e41\u0e2a\u0e14\u0e07 Token \u0e19\u0e35\u0e49\u0e43\u0e2b\u0e49\u0e40\u0e2b\u0e47\u0e19\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07 \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e43\u0e19\u0e44\u0e25\u0e19\u0e4c \u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19 line notify \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e19\u0e43\u0e2b\u0e21\u0e48 \u0e43\u0e2b\u0e49\u0e17\u0e33\u0e01\u0e32\u0e23 invite \u0e40\u0e02\u0e49\u0e32 \u0e44\u0e25\u0e19\u0e4c\u0e01\u0e25\u0e38\u0e48\u0e21\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23 \u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e43\u0e2b\u0e49\u0e01\u0e31\u0e1a Line notification \u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e20\u0e32\u0e29\u0e32 PHP \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21 &lt;?php define(&#8216;LINE_API&#8217;,&#8221;https:\/\/notify-api.line.me\/api\/notify&#8221;); $token = &#8220;Un2LudBajEKlJs8I7qbWIMkl3f2WjGH56YuDJ9xxxxx&#8221;; \/\/ \u0e43\u0e2a\u0e48Token<\/p>\n<div class=\"clear\"><\/div>\n<p><a class=\"ReadMore\" href=\"https:\/\/help.bsru.ac.th\/?p=244\">Read More<\/a><\/p>\n","protected":false},"author":3,"featured_media":252,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,2],"tags":[92,93,90,91,75],"class_list":["post-244","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-develop","category-it","tag-alet","tag-c","tag-line-notify","tag-notification","tag-php"],"_links":{"self":[{"href":"https:\/\/help.bsru.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.bsru.ac.th\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.bsru.ac.th\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.bsru.ac.th\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/help.bsru.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=244"}],"version-history":[{"count":13,"href":"https:\/\/help.bsru.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/244\/revisions"}],"predecessor-version":[{"id":271,"href":"https:\/\/help.bsru.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/244\/revisions\/271"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/help.bsru.ac.th\/index.php?rest_route=\/wp\/v2\/media\/252"}],"wp:attachment":[{"href":"https:\/\/help.bsru.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.bsru.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.bsru.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}