Guendi
1
The code is already used is a common problem here. As the code is a one use code to be exchanged for a token
The code should be dynamically obtained from the URL as it’s a query strin parameter and not hard coded.
Guendi
3
that was the response from oauth2/authorize
{
code: ‘n61ps7fvucwkfu708vpam6nb6xtozt’,
scope: ‘user:read:email’,
state: ‘qbf17d9ernqbf17d9ern’
}
I used the code from response
Guendi
5
both options are not possible.
I try to get the access-token immediately
Then this suggests a fault in twitchClass.getTwitchAccessToken
Would need to see what that function is doing.
Broadly looks correct.
What does queryBuilder do?
Heres a simplier fetch example to reference
Guendi
9

I tried it with your method and it worked.
THANKS! 
system
Closed
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.