Purushottam zende
Purushottam zende

Reputation: 552

Youtube Notifications on 3rd party app

I have an android app that fetches the video from the YouTube channel. It is working fine. The problem is, I want to send the notifications to all the users who have installed the app, even if they are not subscribed to the YouTube. Videos list is fetched from PHP API at my server.

  1. I am thinking of calling the cron every 5 minutes, which I think not a good logic.

  2. Is there any kind of YouTube API or settings that, we can use so as that my server API can be called and I can send the notifications from server itself.

NOTE:-

  • Notifications will be sent of every channel video add, update or delete functionality.
  • Upvotes: 1

    Views: 227

    Answers (1)

    anon
    anon

    Reputation:

    As for the API itself, I am not an expert so it is not my place to advise, however on the cron you could run it every second in reality as long as you server has the power to deal with the load.

    Upvotes: 1

    Related Questions