ํ์ฌ ์ํฉ
ํ๋ก์ ํธ ๊ตฌ์กฐ
ํ ์คํธ
Google PlayGround์์ FCM์ ์์ธ์ค ํ ํฐ์ ๊ฐ๋จํ ๊ฐ์ ธ์ค๊ธฐ
๋ก๊ทธ์ธํ๊ธฐ
Exchange authorization code for tokens ํด๋ฆญ
์์ธ์ค ํ ํฐ ๋ณต์ฌ
postman์์ ํ ์คํธ - send
{
"targetToken":"ya29.a0AVvZVsr0-Rht_wrKSXxoGKy6c8CYAmyPTLliZDg2pOTQTOF8ce57jsoFONNj4Zj38nxoQXaxEyjvQyuzNq7-xyyVnPV4oMJfm_tnHQ-asn2ReHk89Pu8qkTOkpv7W1INOzoksFQoW_gWEIZK_x46mei55jG1aCgYKAZYSARMSFQGbdwaIq0TdVw_C-BscCCRTpNKAOw0163",
"title": "23๋
2์ 10์ผ",
"body": "push ์๋ฆผ ํ
์คํธ"
}
-> postman ์์์๋ 200 ok๊ฐ ๋จ์ง๋ง ์ธํ ๋ฆฌ์ ์ด ๋ก๊ทธ์์๋ error๊ฐ ๋ฐ์ํ๋ค.
ya29.a0AVvZVsr0-Rht_wrKSXxoGKy6c8CYAmyPTLliZDg2pOTQTOF8ce57jsoFONNj4Zj38nxoQXaxEyjvQyuzNq7-xyyVnPV4oMJfm_tnHQ-asn2ReHk89Pu8qkTOkpv7W1INOzoksFQoW_gWEIZK_x46mei55jG1aCgYKAZYSARMSFQGbdwaIq0TdVw_C-BscCCRTpNKAOw0163 23๋
2์ 10์ผ push ์๋ฆผ ํ
์คํธ
{
"error": {
"code": 400,
"message": "The registration token is not a valid FCM registration token",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
"errorCode": "INVALID_ARGUMENT"
}
]
}
}
reference
๊ธฐ์ด ๊ตฌํ(์ฐธ๊ณ )
๐๊ตฌ๊ธ FCM ๊ฐ๋จํ ํ
์คํธํ๊ธฐ
๐JAVA&SPRING&SPRINGBOOT&TOMCAT
์๋ฐ ์คํ๋ง FCM ์น ํธ์ ๊ธฐ๋ฅ ๊ตฌํ!
๐์น ํธ์ ์๋ฆผ(Web Push Notification)
๐์ผ๋ก๋ฒ ๋ก ๊ฐ๋ฐ ๋ธ๋ก๊ทธ - Spring Boot ํ๋ก์ ํธ์์ FCM์ ์ด์ฉํ ์น ํธ์ ๊ตฌํํ๊ธฐ
๐sgs-smooth/src/backend/notification/
๐[Firbase] FCM์ ๋์
ํ ๋ ๊ณ ๋ คํ ๊ฒ๋ค
๊ธฐ์ด ๊ตฌํ(์ค์ ์ ์ฉ)
๐[Capstone] FCM์ ํตํด Push ์๋ฆผ ์๋ฒ ๊ตฌ์ถํ๊ธฐ
๐์คํ๋ง๋ถํธ FCM ํธ์ฌ ์๋ฆผ ์๋ฒ
push ํ
์คํธ
๐Firebase Cloud Messaging
๐FCM Push Notification(HTTP v1) with OAuth 2.0 Playground / Postman / Terminal - Part2
๐Firebase Cloud Messaging (FCM) 2 - FCM ํ๋ก์ ํธ ์์ฑ ๋ฐ ํ
์คํธ
๐Oauth2 playground - Input of scopes in the "input your scopes" box - how?