Document

Get KakaoTalk API Token

date
Apr 15, 2023
slug
how can I send kakaotalk
author
status
Public
tags
Python
Doc
summary
how can send kakao talk message to me using kakao token and REST api
type
Post
thumbnail
category
Document
updatedAt
May 4, 2023 08:06 AM

[ExceptNotifier] How to send me a python message through kakao talk API.

How to use KakaoTalk in Python package ExceptNotifier #1 Get KakaoTalk Autorization Code
 
author: ParkMinWoo
category: Document
date: April 15, 2023
slug: how to get kakao api
status: Public
summary: How to get Kakao API
tags: API
type: Post
updatedAt: April 15, 2023 at 3:36 AM
 
🐞
If you do not see the picture normally, please go back and come back to the text. It is a problem that AWS notion image loading is delayed and update is not possible. (Not resolved by refreshing)
 
 
The Python package ExceptNotifier provides code errors or successes with detailed error code history via mail or messenger anytime, anywhere, regardless of format, through Python's try except syntax. In order to use these nice packages, you need to issue a messenger app token through API.
 

Before Start

KakaoTalk is a very complex application that is mainly used for various businesses in Korea. It's very complex, the tokens have short lifetimes, and the application's dynamic consent and dependencies are very complex. Python ExceptNotifier takes reuse very seriously. Therefore, KakaoTalk, which is very inconvenient to set up initially, has an expiration date of tokens, and has various update errors, is not strongly recommended as an application that receives ExceptNotifier alarms. (Also, do not use KakaoTalk as it is confirmed that it does not support alarms in the case of the Send Me Message API.)
 
  1. Sign up for the following site: https://developers.kakao.com/
  1. Click 'My Application' on the top bar.
  1. Click 'Add an application' and create it by setting the name, etc.
    1. notion image
  1. Select 'Kakao Login' from the left-hand menu, then change the State of 'Kakao Login Activation' to ON on the resulting page.
    1. notion image
  1. My Application > Product Settings > Kakao Login, be sure to set the Redirect URI as follows:
  1. Click the left-hand Consent Items menu and set 'Send message in KakaoTalk' as selective consent.
    1. notion image
  1. Finally, copy the REST API Key from My Application > App Settings > Summary and go to the following document.
    1. notion image
  1. If you did all above things correctly, follow the instructions in the following document.