And how can I get only the access token without the long text?
I already told you
And linked you example code