Login php degli abbonati

Hi, I’m consulting dev.twitch.tv to make sure that only subscribers to my channel can log in and be redirected to a page only accessible to them. the references say to use this:
curl -X GET ‘https://api.twitch.tv/helix/subscriptions/user?broadcaster_id=149747285&user_id=141981764
-H ‘Authorization: Bearer 2gbdx6oar67tqtcmt49t3wpcgycthx’
-H ‘Client-Id: wbmytr93xzw8zbg0p1izqyzzc5mbiz’
i just don’t know how to use it, can anyone make a sample login page with this code? thank you very much.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.