MAP user stream

Hi Aron
How to make a map with stream users? :slight_smile:

Your content delivery network will have to give you either the IP of watchers or the location information you want. Google does this in insights, but they might not have this available in realtime.

One other way is using Twitch Extensions, like this one:

It works by looking up the user’s location based on IP and sending that over the chat network to calculate the total.

Both of these solutions work on geoip technology which is not always accurate.

The way I do it is ask people to type the name of the city they’re in! Low tech hack. Then I run that through the google maps geocoder to find the location to drop the pin on the map.

This still needs some work to make it easier to set up, but the code is all public!

1 Like

Thank YOU ! :grinning: :grinning: :grinning: :grinning: :grinning: :grinning: :grinning: :grinning: :grinning: :grinning: :grinning: