Hello there, I managed to authenticate via login on my app, and the URL returns the Token of the user who granted access, but how can I know the name of the channel or the user ID of the channel that logged in?
At this moment I only have the channel’s oauth token, I don’t have the name or user id. How to get them?
is not an user token? now i tried to use the Get Users endpoint and i got:
{“error”:“Bad Request”,“status”:400,“message”:“The id or login query parameter is required unless the request uses a user access token.”}
Well, i just want to return the channal name or the channel id from the code on the URL that the login returned to me,
Doesn’t this code work for that?