Get My KakaoTalk Profile
info
To receive a complete API response, you must enable Kakao login and the user must consent to profile information, nickname, and profile picture access.
Usage
You can retrieve your KakaoTalk profile using getTalkProfile().
It is defined as follows:
export function getTalkProfile(): Promise<KakaoTalkProfile>
It has the following type:
export interface KakaoTalkProfile {
id: number;
/**
* KakaoTalk nickname
*
* Required consent items: Profile information (nickname/profile picture) or nickname
*/
nickname?: string | null;
/**
* Country where the user is using KakaoTalk
*
* @deprecated
* @link https://devtalk.kakao.com/t/api-change-notice-response-fields-of-the-retrieving-kakao-talk-kakao-story-api/115151
*/
countryISO?: string | null;
/**
* KakaoTalk profile image URL
* Size: 640px * 640px, HTTPS only
*
* Required consent items: Profile information (nickname/profile picture) or profile picture
*/
profileImageUrl?: string | null;
/**
* KakaoTalk profile thumbnail image URL
* Size: 110px * 110px, HTTPS only
*
* Required consent items: Profile information (nickname/profile picture) or profile picture
*/
thumbnailUrl?: string | null;
}
For the latest description of the response values, refer to the Official Documentation.
id is the user's member number in the current app. Android, iOS, and web return it as a number.