ดึงภาพและวีดีโอจาก line bot api

Mr.aegkaluk sopapun
Sep 4, 2018 · 2 min read

ใช้ POST MAN Get ตาม api parameter และใส่ Authorization Bearer { Channel access token}

https://api.line.me/v2/bot/message/<message_id>/content

ตามเอกสาร API ของ line

https://developers.line.me/en/reference/messaging-api/#get-content

ตัวอย่างรูปที่อยู่ใน line bot

message id เราก็เอามาจาก webhook line bot ของเราครับ

ดึง location เลือก share location ได้

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade