Does Twitch Authentication API support username/password flow? How can I add Twitch login to my native IOS app and get the access token? Is there a way to launch Twitch IOS app to get that?
The Twitch iOS viewing embed allows you to obtain authentication tokens in your 3rd-party app: https://github.com/twitchtv/twitch-ios-plugin-bin
You’ll need to register your app under your Twitch account on http://www.twitch.tv then pass the Client ID and Redirect URI you create there to the library:
// Log the user in to obtain an auth token for broadcasting
- (void)presentLoginViewForClientID:(NSString *)clientID redirectURI:(NSString *)redirectURI;
I looked at the github url as provided but didn’t find the API you mentioned in the readme file.
(void)presentLoginViewForClientID:(NSString *)clientID redirectURI:(NSString *)redirectURI;
Is it in a different API or simply the readme file doesn’t cover it?
Thanks,
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.