getaccessToken( api_data is empty)

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