Can't get production account URL (issue with user oAuth?)

(Joe Nova) #1

I am following the guide here:

I know that I need to get an access token for a user, not the application, in order to get account info which is what I believe I did. You can see a very, very basic implementation here:

What I receive back are just account URLs for events and webhooks (based on my reading, only available to applications). Now, the docs aren’t very good in explaining this but I suspect that I’m using incorrect parameters when sending the authorization request but based on the docs, at least as far as I can tell, I’m doing it correctly. Any help would be great!