getaccessToken( api_data is empty)

I want getaccessToken

result is api_data empty

Admin: removed leaked client secret

Please do not leak your client secret, it’s a violation of the developer agreement and considered a password.

Do you have any code you are using? Just a URL doesn’t tell us much

Seems “correct”

So you’ll need to add some error catching/testing the HTTP response/status code

For a user access token my PHP example might help

is the relevant snippet for converting a code to an access token