Comments (12)
push_service = FCMNotification(api_key="")
api-key should be 'Server key' at console.firebase.google.com (your project page), under CLOUD MESSAGING tab.
from pyfcm.
Hello. I'm using this package to manage the server side of my in app notifications, but when i send the notification it throws an authentication error for the sender account, more explicitly:
There was an error authenticating the sender account
.
I used the web API key provided in Firebase console but nothing changed, any clues?
from pyfcm.
Yeah, Server keys are deprecated, but no problem to pyFcm, I tried it with new tokens. It is working fine. Just replace old server keys with new token.
from pyfcm.
@sanjaymantati firebase console -> Settings -> General -> Web API Key
from pyfcm.
can't find this in docs, but couple of days ago my pushes stopped to deliver. I found that my key was dropped. I made new one and got that view (on russian only) http://joxi.ru/jnAyNegcDNNqrZ
Translation of info-message:
"To send a message instead of the server keys are now used tokens Firebase Cloud Messaging. Although the server keys, you can still use them to support discontinued."
from pyfcm.
Can you please clarify and add references in the Firebase Cloud Messaging documentation
from pyfcm.
I've not been able to find information abt the Firebase Cloud Messaging tokens in the http server ref, anyone here should notify us when there's any info abt the new token
from pyfcm.
Thanks, the docs are not clear, maybe it should be in the main readme page. I thought that I need to use my private key as the `api_keyz
from pyfcm.
Means i have to change FCM_SERVER_KEY with token??
If yes, then where i can get this token?
from pyfcm.
push_service = FCMNotification(api_key="")
api-key should be 'Server key' at console.firebase.google.com (your project page), under CLOUD MESSAGING tab.
In what file do i define that?
from pyfcm.
Wherever you're instantiating the FCMNotification class
from pyfcm.
Hello. I'm using this package to manage the server side of my in app notifications, but when i send the notification it throws an authentication error for the sender account, more explicitly:
There was an error authenticating the sender account
. I used the web API key provided in Firebase console but nothing changed, any clues?
@rt-garcia
Cloud Messaging API (Legacy)
needs to be enabled.
After that, you will get Server key
.
from pyfcm.
Related Issues (20)
- Badge is not updated if the app is open HOT 1
- Being explicit about your versioning strategy HOT 2
- Can't import module HOT 1
- Connection pool is full, discarding connection: fcm.googleapis.com
- AttributeError: type object 'Retry' has no attribute 'DEFAULT_ALLOWED_METHODS' HOT 2
- SyntaxError: getting error while pytesting in python 2.7
- SyntaxError: getting error while pytesting in python 2.7 HOT 1
- Receiving FCM notifications HOT 1
- android_channel_id is missing in multiple_devices_data_message
- what is the role of private and public key
- Any plans for migrating from lagecy HTTP to HTTPv1 ? HOT 8
- It looks like this bit of doco should be "default" and not "Default" HOT 1
- How to get registration_id HOT 2
- Add EMOJI in title HOT 1
- Fix async_notify_multiple_devices
- Default priority should be normal, not high HOT 2
- Will PyFCM be affected by API discontinuance HOT 10
- async notify_single_device
- How I can send category in "aps" dictionary ?
- tests are not working properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyfcm.