The Line Messaging API provides an interactive communication platform for users with LINE accounts – that is, either a Line official account or the LINE@account. It actually works like a social media platform, such that, a user establishes contacts by being added by other users as a friend or being sent a friend message by the users. Once a user sends a friend invitation message or adds another user as a friend, the API conveys an automated and customized message to the recipient. The recipient’s registered server, in turn, responds with a message acknowledging receipt or acceptance of the request. The API allows users to send push messages or respond to messages in addition to supporting the sending and receipt of images and template messages. Users can also deploy their bots to participate in group chats or one-on-one conversations. The Line Messaging API sends HTTP requests and returns JSON responses.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.