OAuth authorization code flow isnt working

And how can I get only the access token without the long text?