Notifications using Twitch API and PHP

I finally use my polling diffrently, using ajax which call my php function to make curl request… So in my setTimeOut() function I have to use a kind of value like 3000000 for the delay ? I store new followers in a sql database and notify on my dashboard one by one, so it’s not a problem with a bigger delay.

But if I could suggest you one thing, it’s to integrate the notification in API. I’m using Paypal API for stream donation, and inside it there’s a system called IPN. So after the donator filling the form, he’s redirected to twitch, and a json message is sent to “notify_url” page (a php page which receives informations and send a code to paypal to confirm it’s not a fraud).
This json message could be made for twitch API, the user could define his own notify_url and he wll receive informations instantly. The “notify mode” will be only use by people who activate it, so there’s not much ressources asked to send it I think.