I’m currently working on a project for a gaming community I’m part of which I need some advice / guidance:
The requirements are:
- To display a list of community members and if they are online / offline on twitch
- If the user is online, have a green icon next to their name and have a hyperlink which is “Watch Live”
- When the user clicks “Watch live” this is either a URL redirect to the player or player + chat.
- If the user is offline, the icon is shown as red with no “Watch Live” Link
Is there already a script out there which I could use to replicate what I’m trying to achieve?