twitchdev / issues

Issue tracker for third party developers.
Apache License 2.0
74 stars 6 forks source link

Get User Extensions returns active extensions only and not installed extension #477

Open BarryCarlyon opened 3 years ago

BarryCarlyon commented 3 years ago

Brief description

Get User Extensions should return a list of all extensions installed to a channel Currently it only returns the active extensions. So I have no idea whats available to install!

How to reproduce

Call, with a token that has user:read:broadcast

https://dev.twitch.tv/docs/api/reference#get-user-extensions

curl -X GET 'https://api.twitch.tv/helix/users/extensions/list/' -H 'Authorization: Bearer TOKEN' -H 'Client-Id: CID'

Resp

{"data":[{"id":"uddfpjpm83bcj33vmxkyzf7m55o20q","version":"1.0.2","name":"EliteTrack","can_activate":true,"type":["component","overlay"]},{"id":"es7m79v91nz4xxhzljdl3rpg9m1iuz","version":"0.0.3","name":"IGDB.com Game Information","can_activate":true,"type":["component","mobile","panel"]}]}

Expected behavior

Returns all available extensions that the channel has that can be activated in a slot

Screenshots

The response on the right

should return Borderlands 3 and Ctrl+ stream kit amoung others It does not.

image

BarryCarlyon commented 3 years ago

If your token has

iProdigy commented 2 years ago

If your token has

  • user:edit:broadcast - it works as expected
  • user:read:broadcast (as documented) - it only returns active extensions.

Can confirm this is still a problem

theca11 commented 2 years ago

Using channel:manage:extensions also only returns active extensions

LorenaGdL commented 1 year ago

This behaviour is now documented in the reference for the legacy scopes:

Requires a user access token that includes the user:read:broadcast or user:edit:broadcast scope. To include inactive extensions, you must include the user:edit:broadcast scope.

However, channel:manage:extensions still returns only active extensions (and this scope is not mentioned anywhere within the reference despite being listed in the scopes page instead of user:edit:broadcast #655)

theca11 commented 9 months ago

channel:manage:extensions seems to be working properly now, enough to fetch all installed extensions, both active and inactive