Calling GetStreamTags


#1

I’m trying to use the “GetStreamTags”:https://dev.twitch.tv/docs/api/reference/#get-stream-tags call at the moment but I’m obviously missing something.

If I call “GetStreams” I get an array of streams as expected:

{"id"=>"32460142624",
 "user_id"=>"12665",
 "user_name"=>"Sco",
 "game_id"=>"18122",
 "community_ids"=>[],
 "type"=>"live",
 "title"=>"GM of <Method> RACE TO WORLD FIRST ",
 "viewer_count"=>33698,
 "started_at"=>"2019-01-30T11:27:29Z",
 "language"=>"en",
 "thumbnail_url"=>"https://static-cdn.jtvnw.net/previews-ttv/live_user_sco-{width}x{height}.jpg",
 "tag_ids"=>["6ea6bca4-4712-4ab9-a906-e3336a9d8039"]}

However, if I then call GetStreamTags with the id above (32460142624) I get nothing back when I’m sure I shouod see the tags above.

What am I missing :wink:

Cheers, Jim.


#2

Get Stream Tags is called with broadcaster_id not stream_id

So it’s 12665 not 32460142624

from your example.

The wording on the docs is a little confusing. Tagged elsewhere for a revisement


#3

Many thanks.
J.