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.
Questions tagged [line-api]
30 questions
0
votes
1 answer
How to make carousel Flex Message in linebot
I have a problem with flex message in linebot, I am trying to make multiple Flex Messages like carousel template, I follow the example and made two cases after I read the document here. And I succeeded in the first case, but case 2 doesn't work.
By…

jason8797
- 1
- 1
0
votes
0 answers
How to send emoticon in LINE message API
I tested emoticon in node.js in this way.
I do the same in my rails project but i was not able to send unicode like this. I don't know how to send emoticon in rails with LINE Message API.
messages.push(
type: 'text',
text:…

overflow
- 61
- 5
0
votes
1 answer
Consumer can't find in Kotlin
I want to convert this Java example to kotlin.
But...
{responseBody -> .....} Type mismatch.
fun handleAudioMessageEvent(event: MessageEvent) {
handleHeavyContent(
event.replyToken,
event.message.id
) {…

HE XUAN-WEI
- 15
- 7
0
votes
2 answers
How use Lambda handleHeavyContent() in Kotlin
Sample code: https://github.com/line/line-bot-sdk-java/blob/master/sample-spring-boot-kitchensink/src/main/java/com/example/bot/spring/KitchenSinkController.java
I try convert to Kotlin.
But responseBody is Type mismatch.
handleHeavyContent(
…

HE XUAN-WEI
- 15
- 7
0
votes
0 answers
How to check all messages that push to many users (in one time) really success to all users?
Same the title, I want to detect if have some response fail then I will code to resent a message again.
I use line API thanks

Marimokung
- 123
- 2
- 12
0
votes
2 answers
How to send a request to upload image file to LINE server with multipart/form-data for posting image to LINE Notify?
I'm trying to post an image from local using LINE Notify, but get bad request, how to send the right request using HttpWebRequest with multipart/form-data content-type in vb.net?
I've tried on cURL, and it's woking:
curl -i -X POST…

009
- 67
- 2
- 3
- 9
0
votes
1 answer
Having problems with global variable in python and line api
I'm trying to build reply bot by using line api and python 2.7.15 .
this is my code
from flask import Flask, request, abort
from linebot import (LineBotApi, WebhookHandler)
from linebot.exceptions import (InvalidSignatureError)
from linebot.models…

Zen
- 13
- 4
0
votes
1 answer
How to get image format when i get image via http request using nodejs
I'm getting image via line api. when user send image to my bot, I will get it, and upload to aws s3 bucket: GET https://api.line.me/v2/bot/message/{messageId}/content
I got success image. I'm using file = fs.createWriteStream("file.jpg") and…

Nam Lee
- 891
- 1
- 9
- 20
0
votes
0 answers
get binary image from S3 via api gateway
What I need is getting an image via https://xxx.yyy/zzz/1040 rest api, and I will show the image to a SNS tool(Line) via imagemap API.
I am trying to get image saved in S3 bucket via lambda. Here is the flow I am trying to implement:
Save image to…

Michael He
- 3
- 1
- 4
0
votes
0 answers
line developers token permission issue
I use the following simple code to test my line userid and push message.
I found my line token can't query other person profile and push message to others. It seems to be a token problem. Because i use my friend's token every thing is fine.
Did…

derekdonyen
- 1
- 1
0
votes
1 answer
Line messaging API get bot profile issue
As per the LINE messaging API docs,there is API for getting user profile information. When I using that API,
curl -X GET \
-H 'Authorization: Bearer…

joe
- 365
- 1
- 5
- 16
0
votes
1 answer
How do I create a channel access token for LINE (messaging app in Japan), to use with their API?
I'm trying to use the LINE API. I am following these github instructions and just need to create a 'Channel Access Token' and 'Channel Secret'.
line_bot_api = LineBotApi('YOUR_CHANNEL_ACCESS_TOKEN')
handler =…

EJW
- 604
- 2
- 10
- 22
0
votes
1 answer
Use cURL for Microsoft Vision API
Hi I'm trying to use Microsoft Vision API to get a description of an image which is posted from LINE messenger apps.
Now I code by PHP and use curl,
I dont't get error message but it seems something wrong.
I only get the message; "I can see!".
I get…

TKasai
- 77
- 1
- 1
- 10
-1
votes
1 answer
Access to this API denied due to authorization error
I wanted to make my own LINE Bot using LINE Messaging API. I have cloned the sample echo bot using Flask in Python and succesfuly deployed the bot on Heroku. The Heroku Procfile contents are as follows
web: gunicorn app:app
I have entered the…

And rew
- 1
- 1
-1
votes
1 answer
Decrypting a string using AES algorithm in node.js for line API
I have following information on decrypting a string. It is for line API.
https://developers.line.me/in_app_web/api-reference#get_token
The encrypted string will be decoded using the Channel Secret as a symmetric-key. The algorithm used is AES, the…

Yalamber
- 7,360
- 15
- 63
- 89