🔥 Generate Firebase Access Token (Bearer Token) for Push Notifications: Step-by-Step Guide 🚀

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

Комментарии • 76

  • @AcademyICT
    @AcademyICT 24 дня назад +2

    Thank you very very, this works like magic.

  • @abidunais2613
    @abidunais2613 20 дней назад +1

    You saved my day 🥰😍🤩

  • @NikhilPawar151
    @NikhilPawar151 17 дней назад +1

    Thank you very much. It is working fine.

    • @TechnicalRajni
      @TechnicalRajni  17 дней назад

      You're welcome! 😁🤗

    • @NikhilPawar151
      @NikhilPawar151 15 дней назад +1

      @@TechnicalRajni How to send custom data in notification. For example if I have to send article id or any custom parameter.

    • @TechnicalRajni
      @TechnicalRajni  15 дней назад

      @@NikhilPawar151 okay 🆗

  • @atiqurrehman0109
    @atiqurrehman0109 8 дней назад +1

    I want to send notifications using my react native app how can we get access token for react native app?

    • @TechnicalRajni
      @TechnicalRajni  8 дней назад

      check my video how to send push notifications with react native

    • @atiqurrehman0109
      @atiqurrehman0109 7 дней назад +1

      @@TechnicalRajni is this with firebase ?

    • @TechnicalRajni
      @TechnicalRajni  7 дней назад

      @@atiqurrehman0109 yes

  • @NXTFOXDevelopment
    @NXTFOXDevelopment Месяц назад +1

    Exchanging JWT for access token is not returning anything, why would that be?

    • @TechnicalRajni
      @TechnicalRajni  Месяц назад

      @@NXTFOXDevelopment need to check but you try another videos in the playlist will help u

  • @ВитСкор-х8й
    @ВитСкор-х8й 29 дней назад +1

    Where in your code you determine $signature? I don't understand(

  • @pak_kaspul
    @pak_kaspul Месяц назад +1

    you make good tutorial but the source code more important to us for testing, just make sure no wrong code, thanks!

    • @TechnicalRajni
      @TechnicalRajni  Месяц назад

      @@pak_kaspul but atleast you should try if any issues I will share

  • @gurisembhi
    @gurisembhi 16 дней назад +1

    Thanks

  • @tanaybdcom
    @tanaybdcom 3 месяца назад +1

    You are generating fcm token using next js project . is there any video for plain javascript or jquery and html to generate the fcm token ?

  • @princeverma.997
    @princeverma.997 Месяц назад +1

    Error on line 41 error is access_token is null
    Responce is =>
    Error during cURL request: SSL certificate problem: unable to get local issuer certificate

  • @keanhor4596
    @keanhor4596 3 месяца назад +1

    Hi brother ! How can we receive messages of that in php or laravel ?

    • @TechnicalRajni
      @TechnicalRajni  3 месяца назад

      @@keanhor4596 In php already I have video

  • @andresvalenzuela160
    @andresvalenzuela160 Месяц назад +1

    Where do you set your SenderId? Im getting the following error
    message = "SenderId mismatch", status = "PERMISSION_DENIED"

    • @TechnicalRajni
      @TechnicalRajni  Месяц назад

      @@andresvalenzuela160 this is at Android iOS

    • @andresvalenzuela160
      @andresvalenzuela160 Месяц назад +1

      @@TechnicalRajni I managed to fix that error, I was using an expired token to send the message. Now I'm getting another error 😅Its "Auth error from APNS or Web Push Service" with status: "UNAUTHENTICATED" 🤔 and it must be the Web Push service since I dont use APNS. Do you have any idea as to what this could be?

    • @TechnicalRajni
      @TechnicalRajni  Месяц назад

      @@andresvalenzuela160 recently i have updated js and php code check it may be vapid key

  • @rajnikantChoudhary-e2n
    @rajnikantChoudhary-e2n 4 месяца назад +2

    The access token will be automatically refreshed by the Firebase Admin SDK when it expires. You don't need to handle the token expiration manually as the SDK takes care of it for you. This script will get a new token if the current one is expired and will use it to send the notification.

  • @game_withus
    @game_withus Месяц назад +1

    Nice video

  • @mubashirkappan1775
    @mubashirkappan1775 Месяц назад +1

    can i get your git repo or the code for referencing

    • @TechnicalRajni
      @TechnicalRajni  Месяц назад

      @@mubashirkappan1775 yes but any issue you are facing

    • @pak_kaspul
      @pak_kaspul Месяц назад

      you make good tutorial but the source code more important to us for testing, just make sure no wrong code, thanks!

  • @MustofaYuliRachmad
    @MustofaYuliRachmad 3 месяца назад +1

    $signature not found in the file php. where i get the parameter?

  • @MustofaYuliRachmad
    @MustofaYuliRachmad 3 месяца назад +1

    {"error":"invalid_grant","error_description":"Invalid JWT: Failed audience check."} show the error when i get access_token. please help

  • @empiregood9225
    @empiregood9225 Месяц назад +1

    class in android?

  • @rajnikantChoudhary-e2n
    @rajnikantChoudhary-e2n 4 месяца назад +1

    Nice ☺

  • @shishir-i4b
    @shishir-i4b Месяц назад +1

    just like this token how to pass array of token and send notification to multiple user

    • @TechnicalRajni
      @TechnicalRajni  Месяц назад

      @@shishir-i4b I have made the tutorial can you check ✅

    • @shishir-i4b
      @shishir-i4b Месяц назад +1

      @@TechnicalRajni can u provide me a name of video

    • @TechnicalRajni
      @TechnicalRajni  Месяц назад

      @@shishir-i4b 😢

  • @adamfiqrie8350
    @adamfiqrie8350 3 месяца назад

    Good tutorial , can you share code php ? i want to refer your code .

  • @fredabila
    @fredabila 4 месяца назад +1

    pllease can you share me the php code for sending the notification

    • @TechnicalRajni
      @TechnicalRajni  4 месяца назад

      Already upload check my new firebase playlist

    • @fredabila
      @fredabila 4 месяца назад +1

      @@TechnicalRajni I mean the php code. Is it on github?

    • @TechnicalRajni
      @TechnicalRajni  4 месяца назад

      @@fredabila already uploaded check my playlist

    • @fredabila
      @fredabila 4 месяца назад +1

      @@TechnicalRajni i have checked. the code is in the video. i need to copy it not type from scratch

    • @TechnicalRajni
      @TechnicalRajni  4 месяца назад

      @@fredabila wow 😮

  • @prashanna8784
    @prashanna8784 3 месяца назад +1

    why are you doing partial work in php and node js ,so confusing !!!!!!!!

    • @TechnicalRajni
      @TechnicalRajni  3 месяца назад

      @@prashanna8784 no full tutorial done on node js php

    • @prashanna8784
      @prashanna8784 3 месяца назад +1

      @@TechnicalRajni so basically you ran some php codes to generate the access token which will further be used in calling the api, am I right?

    • @TechnicalRajni
      @TechnicalRajni  3 месяца назад

      @@prashanna8784 yes

  • @ungrothana
    @ungrothana 3 месяца назад +1

    Source code pls

  • @code-nation
    @code-nation 3 месяца назад +1

    Pls can I get the php script ?

    • @TechnicalRajni
      @TechnicalRajni  3 месяца назад

      @@code-nation please check my new firebase playlist

  • @aqilsworld
    @aqilsworld 3 месяца назад

    i want to send push notifiction via flutter app how to send

  • @tanaybdcom
    @tanaybdcom 3 месяца назад +1

    2nd video

    • @TechnicalRajni
      @TechnicalRajni  3 месяца назад

      @@tanaybdcom means

    • @tanaybdcom
      @tanaybdcom 3 месяца назад +1

      @@TechnicalRajni , nothing serious ... your video title dont have any serial ... i am serializing for myself to find out the videos easily :P

    • @TechnicalRajni
      @TechnicalRajni  3 месяца назад

      @@tanaybdcom okay