FCM http v1 API integration for servers using programming languages including c++ that does not have SDK supports

Viewed 356

We're considering to migrate legacy API to FCM HTTP v1 API to fully utilize FCM functionalities.

Although they provide API Client Library for various programming languages, it could not be possible to cover all programming languages including C++.

Because our push server is written in C++, we decided to implement the protocols. However, we could not find any documents on how to get access token using service-account.json file or server key that can be found in firebase console.

Is there anyone who integrated FCM HTTP v1 API without SDKs that FCM provides?

1 Answers

I figured out the problem.

These articles helped me to implement the protocol in C++. Now it works well. developers.google.com/identity/protocols/oauth2 developers.google.com/identity/protocols/oauth2/service-account

Related