msgreenf Posted July 7, 2014 Share Posted July 7, 2014 I am thinking about writing a driver to use FitBit data in your system. But I am a little stuck on how the OAuth transaction would work. So I could print out the Oauth URL for you to copy and paste into a browser, but how would I get the session back? Link to comment Share on other sites More sharing options...
RyanE Posted July 7, 2014 Share Posted July 7, 2014 I think with most OAuth, you don't get a session key back, you have the user authorize the 'app' (your driver, in this case), and you end up getting some kind of access token that's specific to your app, the client login, and some expiration. You sometimes have to use that access token to get a session key, which you use in transactions. It really depends on the FitBit API, and you'll have to find out the specifics from them. OAuth is very flexible, and can be done many ways, unfortunately. RyanE Link to comment Share on other sites More sharing options...
ILoveControl Posted July 7, 2014 Share Posted July 7, 2014 I am thinking about writing a driver to use FitBit data in your system.But I am a little stuck on how the OAuth transaction would work. So I could print out the Oauth URL for you to copy and paste into a browser, but how would I get the session back?Now this would be a super cool driver I would def beta test it! Love my fitbit Link to comment Share on other sites More sharing options...
msgreenf Posted July 7, 2014 Author Share Posted July 7, 2014 Ok, I just need a little more knowledge to make it work Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
ILoveControl Posted July 7, 2014 Share Posted July 7, 2014 Ok, I just need a little more knowledge to make it work Sent from my iPhone using TapatalkCool let me know and I'll give it a run and feedback! Link to comment Share on other sites More sharing options...
zaphod Posted July 8, 2014 Share Posted July 8, 2014 What are you looking to automate? Locking the fridge if you don't burn 3000 calories in a day? Link to comment Share on other sites More sharing options...
msgreenf Posted July 8, 2014 Author Share Posted July 8, 2014 I had 2 ideas: 1) no tv if you don't hit goals 2 keypad led color Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
turls Posted July 9, 2014 Share Posted July 9, 2014 I guess no TV watching after midnight since it all resets then. Kind of like the Gremlins and eating... Link to comment Share on other sites More sharing options...
ILoveControl Posted August 5, 2014 Share Posted August 5, 2014 Did you ever get this up.and running? Would still be keep.to get it tested. Sent from my Nokia 930 Link to comment Share on other sites More sharing options...
msgreenf Posted August 5, 2014 Author Share Posted August 5, 2014 I have not yet worked on this Link to comment Share on other sites More sharing options...
JerryR Posted December 5, 2014 Share Posted December 5, 2014 If you ever do get this up and running, I'd happily be a beta tester. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.