Make sure to generate a new OAuth token
Changelog
Did a very late Helix API migration
-
Modified the bearer token request to include the now needed specific scope (user:read:follows)
-
Modified the main authentication requests to function with the new API
-
In their infinite wisdom, Twitch renamed every single response field. Made rofi parse them again.
-
The request to get followed streams now has a required parameter:
user_id
. Querying /helix/users with no paremeters will respond with the data of the user that the auth token belongs to. -
Added new functionality to do with the user_id querying. Specifically making sure it isn't queried unnecessarily every time the script is run.
-
The limit and offset parameters were changed to first and after respectively. The after value is no longer a simple number, but takes the pagination field value of the previous query and uses that. Wowee.
-
Fixed setting window width and height. Previous rofi parameters were deprecated.
-
Fixed and improved error for invalid OAuth token
-
Cleaned up the text output of the script a little. Any actual error messages should be clearer now.
-
Fixed fontname and fontsize functions calling depretacted rofi --dump-xresources