Get viewer username inside extension

How I can get username after viewer share their id?
I know about endpoint, but it falls with “OAuth token is missing” message and I don’t see how I can get any valid token without extra OAuth authorization. And I also don’t want to use deprecated v5 api.

This example describes a suitable work flow:

You have to send it via an EBS

1 Like