Develop/Front-End
카카오로그인
RianShin
2020. 6. 23. 11:47
728x90
반응형
SMALL
공유된 코드 - Color Scripter
저작권자 : boarderrian@gmail.com 코드 설명 : kakao login
colorscripter.com
if (type === 'kakao') {
success: function(authObj) {
console.log(JSON.stringify(authObj, null, 8))
Kakao.API.request({
url: '/v2/user/me',
success: function(res) {
res.sns_type = "kakao";
res.email = res.kakao_account.email;
console.log(JSON.stringify(res, null, 8))
},
fail: function(res) {
console.log(JSON.stringify(res, null, 8))
}
})
},
fail: function(err) {
console.log(JSON.stringify(err));
},
throughTalk: false
});
728x90
반응형
LIST