I am trying to register an app using the url of:
https://localhost.
For the callback function, I use:
https://localhost/wordpress.
When I use php api to invoke the oauth authentication, there is no https code in the response of the FitBitPHP->getProfile() that come back. The key and the value of my clients are both correct and I also set my request token and access token for OAuth. The exception shows like:
Uncaught exception 'FitBitException' with message 'Fitbit request failed. Code: ' in C:\Program Files\XAMPP\htdocs\fitbitphp.php:328