How to send FCM notifications via Push API?
Im trying to send a push notification via the Push API, so far i have got a url like “https://fcm.googleapis.com/fcm/send/c67ztfrY…3DXukjSblobvwDkigbft05o60a” from pushSubscription.endpoint. Most of the questions on stack overflow just have https://fcm.googleapis.com/fcm/send as the URL rather than the full URL i got. Do i need to use OAuth2 or can i just send the private key in the auth header?
How to send FCM notifications via Push API?
Im trying to send a push notification via the Push API, so far i have got a url like “https://fcm.googleapis.com/fcm/send/c67ztfrY…3DXukjSblobvwDkigbft05o60a” from pushSubscription.endpoint. Most of the questions on stack overflow just have https://fcm.googleapis.com/fcm/send as the URL rather than the full URL i got. Do i need to use OAuth2 or can i just send the private key in the auth header?
How to send FCM notifications via Push API?
Im trying to send a push notification via the Push API, so far i have got a url like “https://fcm.googleapis.com/fcm/send/c67ztfrY…3DXukjSblobvwDkigbft05o60a” from pushSubscription.endpoint. Most of the questions on stack overflow just have https://fcm.googleapis.com/fcm/send as the URL rather than the full URL i got. Do i need to use OAuth2 or can i just send the private key in the auth header?
Error The registration token is not a valid FCM registration token
I get the token this way
PHP iOS message structure – changed? user_action doesn’t seem to work as before
I used to use: https://fcm.googleapis.com/fcm/send with the following code: