EJW
EJW

Reputation: 614

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 = WebhookHandler('YOUR_CHANNEL_SECRET')

The main issue I am having is that the docs pages are out of date, and I can't find out how to enable the API for my business account: https://developers.line.me/messaging-api/getting-started#apply_messagingapi The 'bot API' section no longer exists anywhere on any of the categories on the left.

Documentation links

link #1 to devdocs API page

link #2 to developers page

link #3 getting started guide (i have a business account)

Upvotes: 0

Views: 2052

Answers (1)

Kai
Kai

Reputation: 2599

From the Line docs:

To respond to messages from your users using the Messaging API, you first need to enable webhooks for your LINE@ account on the LINE@ Manager. You’ll then need to get a Channel access token and set a webhook URL on the Channel Console.

Upvotes: -1

Related Questions