Document

Python 카카오로 나에게 메시지 보내기

date
Apr 15, 2023
slug
python kakao token kor
author
status
Public
tags
Python
summary
how can get kakao token and sending message to me using API
type
Post
thumbnail
category
Document
updatedAt
May 11, 2023 04:22 AM
 
🐞
그림이 정상적으로 안보이실 경우, 뒤로 가기 이후 다시 글로 돌아와주시기 바랍니다. AWS notion 이미지 로딩이 지연되어 업데이트가 되지 않는 문제입니다.
 
영문가이드는 Get KakaoTalk API Token 글을 참조하세요.
 

한국어 가이드

  1. 다음 사이트에 가입하세요. https://developers.kakao.com/
  1. 상단바에 ‘My Application’을 클릭하세요.
  1. ‘Add an application’을 클릭하고, 이름등을 설정해서 생성하세요.
    1. notion image
  1. 좌측 메뉴에서 ‘Kakao Login’을 누른 뒤에 나오는 페이지에서 ‘Kakao Login Activation’의 State를 ON으로 변경하세요.
    1. notion image
  1. My Application > Product Settings > Kakao Login에서 Redirect URI를 반드시 다음과 같이 설정하세요. https://example.com/oauth
    1. notion image
  1. 좌측 Consent Items 메뉴를 클릭한 뒤에, ‘Send message in KakaoTalk’를 선택적 동의로 설정해주세요.
    1. notion image
       
  1. 마지막으로 My Application > App Settings > Summary에서 REST API Key를 복사한 뒤, 다음 문서로 이동합니다.
    1. notion image
      (이 예제에서는 Test용 어플리케이션을 생성했다가 제거했으므로 일부 API key를 노출하였지만, 보안상의 이유로 본인의 API 키는 외부로 노출되면 안됩니다.)
       
  1. 위 과정을 모두 정상적으로 수행하셨다면, 다음 문서로 이동하여서 지침을 따르세요. https://github.com/dsdanielpark/ExceptNotifier/blob/main/tutorials/ExceptKakao/kakao_token_generator.ipynb