Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nice idea, doesn't work for me #1

Open
dimangi opened this issue Mar 13, 2019 · 5 comments
Open

Nice idea, doesn't work for me #1

dimangi opened this issue Mar 13, 2019 · 5 comments

Comments

@dimangi
Copy link

dimangi commented Mar 13, 2019

Didn't get it to work. Perhaps the FitBit side has changed...

digit@Mac~/Downloads/fitbit2garminconnect-master$ php index.php 
----------------------------------------------------------------
            Fitbit to Garmin Connect Synchronization
----------------------------------------------------------------

Initializing connection to Garmin Connect ... success
Fetching weight data points               ... 2 data points
Synchronization period                    ... all
Initializing connection to Fitbit         ... 
Fatal error: Uncaught Error: Call to a member function getElementsByTagName() on null in /Users/digit/Downloads/fitbit2garminconnect-master/FitbitClient.php:26
Stack trace:
#0 /Users/digit/Downloads/fitbit2garminconnect-master/index.php(45): Causal\F2GC\FitbitClient->connect()
#1 {main}
  thrown in /Users/digit/Downloads/fitbit2garminconnect-master/FitbitClient.php on line 26
@xperseguers
Copy link
Owner

Must have changed recently but I did not sync for maybe 15-20 days. Will check and fix soon :)

@xperseguers
Copy link
Owner

Looks like implementing OAuth2 is now the only way to access Fitbit data: https://dev.fitbit.com/build/reference/web-api/

@masonmwb
Copy link

Did you ever update this? I would find it very useful.

@xperseguers
Copy link
Owner

No, never updated it (you would see changes in the repo...) as implementing the whole OAuth2 is more complex to set up afterwards (you need to create an app and everything) and IIRC even getting access to the SDK was way to complex in term of registration, possibly even paying something so I forgot about it.

@masonmwb
Copy link

Thank you for replying. I just wondered if you had put another version somewhere else. I ended up using a paid solution. Putting a link here in case others are looking too: smartscalesync.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants