Recently I re-started a blog, One Man’s Loss, where I detail my journey trying to finally shed years of excess weight and eat healthy. Having purchased a FitBit after The Brand Chef insisted, I wanted a way to show my daily stats on my blog.
The problem is, the FitBit data doesn’t readily allow us to embed its stats (yet) so I had to find another way.
The Brand Chef noticed there was a link to sharing FitBit stats on a wordpress.com page, and thought I should start there. After looking around for an API or other way, I decided upon a plan.
First, if you are using akismet, you probably already have a wordpress.com account. So go ahead and create a blog too. The name of the blog should be something related to the blog you are displaying your FitBit info on, or simply “My FitBit Stats.” Once your blog is created, click on the Entries RSS item on the home page to get the location of your XML feed. We’ll come back to that.
Next, go into your fitbit dashboard, and under your profile photo, there will be an option called “Share Stats.” Click on that option and scroll down to the “Share on WordPress.com” section. Here you can choose daily or weekly posts, and be able to link up your wordpress.com account. Go ahead and link it up.
Next, you will want to set your privacy settings by clicking on the Privacy link. Since the way we are doing this will theoretically allow people to see your FitBit dashboard if they click enough, set the various privacy options to control what people can see. You will need to make sure “steps and distance” are shared to everyone. Be sure to save your settings.
Now, log into your WordPress installation, go to plugins, and install the RSS Just Better plugin. There are a lot of RSS readers out there, but this one seems to do the trick fine. Once installed, go to Appearance and then Widgets to bring up your widget configuration.
Wherever you want the Steps and Distance to display, add the RSS Just Better widget. Paste in the location of your wordpress.com RSS feed into the settings. Be sure to show the excerpt, and set it at about 250 characters. Don’t try and make it just small enough to display to the end of “traveled” because your numbers can vary.
Hit Update on the widget – and your FitBit RSS feed is good to go. It took mine past midnight to update for the first time, but you can also make a test entry on your wordpress.com blog just to verify the feed is coming in.
If you have any questions, please let me know. If you want to see it in action, just go to http://www.onemansloss.com