Questions tagged [line-api]

Line (styled "LINE") is a proprietary application for instant communications on electronic devices such as smartphones, tablet computers and personal computers. Line users exchange texts, images, video and audio, and conduct free VoIP conversations and video conferences. Line was designed by 15 members of NHN Japan. Use this tag to ask questions about Line-API.

30 questions
4
votes
2 answers

How to get friend's list and friend's profile on line api using php or shell script?

I want to get friends, their profiles and user id to send message through line api on my line account. Here is the line but I can't understand: https://developers.line.me/in_app_web/api-reference#getting_friend_profiles
yoeun
  • 41
  • 1
  • 6
4
votes
0 answers

Line Messenger API - Resolve sticker

I'm writing a small chat tool integrating with Line. One issue I'm facing is to display stickers sent by users from Line. In Line's webhook documentation about sticker, only a package Id and sticker Id are provided. { "replyToken":…
Lee
  • 2,874
  • 3
  • 27
  • 51
4
votes
1 answer

PHP Using cURL and GET request with a header

There are slimier questions in the past like below. How do I send a GET request with a header from PHP? But I don't know why my code is not working. I want to get "status code 200 OK and image data in binary" by using cURL and GET request with a…
TKasai
  • 77
  • 1
  • 1
  • 10
3
votes
1 answer

How to tag users with @mention/@tag in a line group using line bot webhook requests

I cannot find anything in line message API that shows how to tag or mention users in a group that the bot is part of. C98a77173e4622xxxxxxxxxxxxxxxx is the group ID to which I need to send the message to and U5a4640d93cxxxxxxxxx is the user I am…
Mathews Mathai
  • 1,707
  • 13
  • 31
3
votes
1 answer

How to get LINE user mid using PHP SDK?

I use the LINE BOT API Trial SDK PHP (https://github.com/line/line-bot-sdk-php). But, for this method: $res = $bot->sendText(['TARGET_MID'], 'Message'); How to get the user's MID to send them a message? Thanks for help.
Justinus Hermawan
  • 1,194
  • 1
  • 23
  • 44
2
votes
0 answers

LINE messaging API that can return who have read the message in group chats

I currently working with line messaging API, is there any API callback that can return who has read the previous message by sending a command?
Regn
  • 80
  • 1
  • 1
  • 12
2
votes
2 answers

Open chat screen of LINE android app with a specific contact

I am trying to load the list of LINE contacts in my Android application and open chat screen with the specific contact on tapping it. I can open the chat screen but I have to manually tap the contact to start the chat with the contact. I have read…
Waheed Abbas
  • 187
  • 1
  • 4
  • 18
2
votes
0 answers

Dialogflow not detecting Line location message

I am struggling with Line location message. My webhook is sending the action button to prompt the user with the location sharing view and then the location is sent back (theoretically) to Dialogflow and then to the webhook. But the location message,…
lucas_v
  • 21
  • 2
2
votes
0 answers

Define array of different objects with max count 5 in swagger

I have completed a Node.js app using LINE APIs.I have the following request object. How can I define the array of different objects, here the messagesfield which contains different object structure for different message types. I hope swagger permits…
Nidhin David
  • 2,426
  • 3
  • 31
  • 45
2
votes
1 answer

Line Messaging Push API not working

While sending message through line API I am getting the error: {"message":"The property, 'to', in the request body is invalid (line: -, column: -)"} The command I used: curl -X POST \ -H 'Content-Type:application/json' \ -H 'Authorization: Bearer…
1
vote
0 answers

Line payment API spring boot integration

I am working on setting up a line-payment for a existing spring boot application. As per the documentation [both v2 and v3 APIs], application should first request/reserve a payment with Reserve Payment API, which will provide transactionid, weburl…
Jai
  • 369
  • 3
  • 16
1
vote
0 answers

'Blueprint' object has no attribute 'logger'

I following this tutorial https://medium.com/better-programming/line-bot-with-python-and-heroku-tutorial-e8c296f3816f . I want to create a webhook for LINE Messaging API using Flask app on Heroku. I can't verify Webhook URL due to an Error "The…
1
vote
0 answers

Is it possible to delete messages in group chat through Line Messaging API?

I want to create chatbot with Line Messaging API? Main goal of chatbot is maintaining messages. I want to have only few people allowed to send messages and any other should be removed and these users should get private messages about that. Is it…
Jsowa
  • 9,104
  • 5
  • 56
  • 60
1
vote
1 answer

How to get image sent by users use Line API + AWS

I tried following the document: https://developers.line.me/en/docs/messaging-api/reference/#get-content I tried get by Postman, i got image success. But I want get by lambda function use line/bot-sdk. My code: //get image send by user var…
Nam Lee
  • 891
  • 1
  • 9
  • 20
0
votes
1 answer

Cannot verify Line bot Webhook

I tried to make LINE bot based on this site: https://www.casleyconsulting.co.jp/blog/engineer/3028/ I got an error when I push verify button. The webhook returned an HTTP status code other than 200.(503 Service Unavailable) Confirm that your bot…
Irene
  • 33
  • 8
1
2