05-07-2015 10:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-07-2015 10:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.
Accepted Solutions
05-07-2015 10:34 - edited 05-07-2015 10:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
05-07-2015 10:34 - edited 05-07-2015 10:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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.
05-07-2015 10:34 - edited 05-07-2015 10:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
05-07-2015 10:34 - edited 05-07-2015 10:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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.
05-07-2015 11:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-07-2015 11:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks a lot.
But my app still not work and I issues my problem on the github of php api.

03-12-2018 13:46 - edited 03-14-2018 03:00
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-12-2018 13:46 - edited 03-14-2018 03:00
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello, 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..

