Hi, how i can autoupdate every 1000ms with ajax any div contain api and no break my code?
1 Like
If you are doing it that quick, don’t use setInterval
Run a request, when the request completes start the next one.
Or collect events via other means and push that to the front end.
Which API’s are you trying to call?
1 Like
Onlive member list with views on “realtime”
1 Like
The Twitch API uses caching, so the closest you’ll get to updating viewer count in real-time would be by polling the API once a minute.
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.