I am trying to register an app using the url of:
For the callback function, I use:
https://localhost/wordpress.
Is it valid?
When I use php api to invoke the oauth authentication, there is no http 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. Does anybody know how to fix this problem??
Answered! Go to the Best Answer.
Yes, that is valid. You should set "http://localhost/callback" as your callback URL
For problems with the library, please file a ticket on their Github issues.
Thanks a lot.
But my app still not work and I issues my problem on the github of php api.
Best AnswerHello, I have the same issue, but on Android..
User is directed to the Authorization Page, when I click "agree", user is not redirected back to application..
I have already set callback_uri as:
Local Page with Auth Code, no redirect because not specified:
Error Not Found:
- http://locallhost.com/callback
- http://locallhost.com/redirect
What should I use to test locally?
Oops it it not you, it is us..
Best Answer