Add the Healthy Button to your WordPress blog

We’ve received a number of questions about how to add the Healthy button to and self-hosted blogs.

To add the Healthy button to a hosted blog, you first need to select “Settings” and then “Sharing” from your blog admin panel. Next click “Add a new service” under “Available Services” and then configure it as follows:

Then click the “Create Share Button“. This places a representation of your new Healthy button under your “Available Services“. Drag that Healthy button to position it where you want it in “Enabled Services“; check that it appears as expected in the “Live Preview“.

Now verify that “Button style” is set to ‘icon + text‘ (assuming you want to include both) then click “Save Changes” to enable Healthy button sharing on your blog!

You can see this in action at the bottom of this blog post. Push the button and submit your comments to see this post show up in your FitnessFeed on

What if you’re running the WordPress software yourself instead of using If you self-host your own WordPress based blog, you can install this plugin from third party developer Matthew Chan. Matthew’s plugin will place the Healthy button at the top of single posts in your blog.

However you host your WordPress-powered blog, make sure it’s Healthy!

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.


Support causes with Fitgiver and the Health Graph

The winner of our AngelHack prize for best use of the Health Graph (@healthgraphapi) was Fitgiver (@fitgiver) with their app enabling Health Graph users to raise money for the causes they love by doing the things they love to do anyway. One of Fitgiver’s founders, R. Colin Kennedy (@rcolinkennedy), took time out of a very busy schedule to answer a few questions for us. Take his experiences as inspiration to build great things at a hackathon near you, too!

Bill Day: Please tell us about yourself and your team.

R. Colin Kennedy: The Fitgiver team comes from a variety of backgrounds – some of us work at startups, some of us have a background in big business, and another is staff at MIT – but what unites us the opportunity that Fitgiver presents to create a meaningful impact.

BD: How did you get involved with AngelHack? And why did you decide to try out the Health Graph API?

CK: Well, a few of us ride bicycles together and had been kicking this around for a while. AngelHack was a great opportunity to move things to the next level. We had each individually done hackathons and Startup Weekends on other projects, and AngelHack promised a higher level of visibility, great prizes, and uniqueness because it was the first time running it in Boston.

The Fitgiver concept was tied to the Health Graph from its very inception. When we ride together, several of us use RunKeeper to track our activities. We knew that creates a data stream that is accessible and we thought we’d try and put it to use for causes we care about.

The beauty of it is that once users connect Fitgiver with their Health Graph account, they don’t actually have to do anything differently than they already were: Just use RunKeeper like normal, and we pull the data. [Editor’s note: This should work with other Health Graph-based fitness activity tracking apps as well.]

BD: What is the “elevator pitch” for why someone should use Fitgiver?

CK: There are at least two different answers to that question.

First, our elevator pitch is that Fitgiver connects people and the causes they care about with organizations that want to sponsor them.

Second, users should consider Fitgiver because if they’re already going for a run or ride anyway, why not do some good while they’re at it?

BD: How is using the Health Graph benefiting Fitgiver? Which portions of the Health Graph API do you use, and why?

CK: The Health Graph makes data collection super easy. Currently, we’re using the workouts people track with RunKeeper. This is great because we also get the geo data, which we can use to verify that these workouts were real workouts, and at some point we’re thinking about localizing sponsorships so local businesses can sponsor local athletes. This really opens up a very powerful potential for both charities and small businesses to support people that are in their communities.

BD: What do you like about the Health Graph? What would you like to see changed?

CK: So far we’ve been really happy with the reliability and documentation with the API. It just works!

BD: Can you share any future plans for Fitgiver?

CK: We’re in talks with national health-related charities, and with sponsor companies that are looking like potential launch partners. Feedback has been so positive, we just have to keep going.

BD: Is there anything else we should know about your team or your application?

CK: We are all RunKeeper users and athletes, and have been so excited by the level of support that we’ve gotten from the RunKeeper team. Looking forward to furthering the partnership!

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.

Health Graph tip: Test data options

This tip expands upon one of the slides in our “Health Graph Hacking 101” presentation (click here to access). You can work through the complete presentation embedded at the bottom of this post.

One question we often get from developers new to the Health Graph platform is “How can I create test data?”. Here are some ways you can get up and running quickly.

After you request developer Health Graph access, you have automatic read access to any data in your developer account. You can take advantage of that by using various free Health Graph apps to add data to your account. For example, you can record or manually enter:

Another way to add data to your developer account is to use an existing non-development account and Street Team tagging.

You can copy existing fitness activity data into your developer account by:

  1. Logging into an existing non-development account containing fitness activities.
  2. Adding your developer account as a Street Team member in your non-development account; you’ll need to make the request from the latter and then approve it from the former.
  3. For each activity you wish to copy from your non-development account into your developer account, tag the developer account from that activity’s page; this copies the activity data into your developer account.
  4. Optional: When you’re done tagging and copying data, you can remove the tags while in your developer account, then remove your non-development account from your developer account Street Team, to sever the linkages but keep the copied data.

One more option: You can export an existing user’s data (click here for details) then parse that data and write it back into your own developer account via the Health Graph API. In fact, doing so is very instructive as it requires you to explore several different aspects of the Health Graph platform.

The above options should give you plenty of ways to get test data together for your application. I hope this helps and happy health hacking!

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.

Health Graph AngelHacking 101

While this post is targeted at attendees of the 3-5 March 2012 AngelHack developer events, even if you’re not attending you still might find some useful Health Graph information and development tips.

Welcome AngelHackers!

Whether you’re reading this in Boston or San Francisco, you’re in for a great weekend of hacking, networking, and fun. And who knows, maybe even a great prize at the end!

This post will walk you through the key information and procedures you need to use the Health Graph during the hackathon.

First up, here’s a copy of the Health Graph programming primer we’re presenting onsite to get you going (click through the presentation and note that links are live):

AngelHack Health Graph 101

View more presentations from Bill Day

More details on some key points:

You can access a technical overview of the RESTful Health Graph API by clicking here.

All Health Graph partners are required to follow the Health Graph API Policies.

When you’re ready to get started building a Health Graph API application, visit the RunKeeper Partner page and click “Connect To Our API“. From there you can fill out the form to register your new Health Graph integrated app, service, or device.

Click here to learn about authorization removal callbacks before providing your callback URL on the form. If you will be reading data out of the Health Graph for accounts other than your own app registering account, you should also request Read permission on the form, being sure you give a detailed explanation of what you will do with that data once you’ve accessed it.

Note: Please include the appropriate city-specific hashtag, #angelHackSF or #angelHackBOS, in your new application description and Read permission justification so we can address your request as quickly as possible.

Need some inspiration to get your developer juices flowing? Check out some of the applications built and deployed using the Health Graph API, available from the RunKeeper Apps page (click here). You can also access an archive of third party libraries, wrappers, and bindings which might make your Health Graph API-based development easier by clicking here. And there’s more information on how app and library partners are taking advantage of the Health Graph via our Health Graph partner profiles series on the blog.

When you encounter issues, you can ask questions and join in the developer conversation by visiting the Health Graph discussion group. You can file issues in our support form. You can also reach our team on Twitter, Facebook, and Google+.

Related content that may also interest you:

  • Click here to learn how to export your own user data from the Health Graph; useful for backups as well as parsing your data to re-upload into a test account via the Health Graph API.
  • The Healthy button allows you to easily embed the ability to share health and fitness related content on your site or blog into Health Graph users’ FitnessFeeds; click here to learn more about the Healthy button

Now that you know how to use the Health Graph, go build something great and win this thing! Happy hacking!

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.