Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I can't parse callback URL from OAuth

ANSWERED

Hi, I am new to this Fitbit API and not very good at JS/HTML DOM. I am making a test program (will be open source) that can read from a person's activity log's steps, calories, distance, and stairs. What I need to do is allow the user to copy their authorization token and user ID into the command-line interface. The problem is that the URL doesn't use

?access_token...

but rather

#access_token...

in it. The callback URL will take the user to a page on my website that can parse the URL and pull out what the end-user would use and is totally secure. The parser requires it to be as the first example but the second one is for HTML anchors and won't get picked up. It can't modify it very easily.

 

Is this a bug? Or is there a workaround?

 

Thanks,

Joseph

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Oh my gosh. I didn't test it in a real situation. =/

It works perfectly!

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

Oh my gosh. I didn't test it in a real situation. =/

It works perfectly!

Best Answer
0 Votes