stigsfoot / glassfit

Google Glass Fitness App
2 stars 0 forks source link

Share workout stats #18

Open stigsfoot opened 11 years ago

stigsfoot commented 11 years ago

Immediate need: Explore if the built in Share target to see how we can share a snapshot of finish card.

Our direction with GlassFit user profiles/acheivements (feel free to add/edit/amend) Ability to share user workout stats via Google+ interactive posts (see: https://developers.google.com/+/web/share/interactive):

Google+ Profile Photo/Name Name of Workout Difficulty Workout Time Total workout time Calories burned Background Image

Note that while you work on these backend requests, I'm going to start working on a user frontend so that when the interactive post is shared viewers land on a public profile for the user.

rgrinberg commented 11 years ago

Actually this isn't so easy to do with the way our prototype is designed. The main problem is that once a user shares a timeline card with us then all we know can retrieve from it is the mundane content in: https://developers.google.com/glass/v1/reference/timeline#resource

And although this might contain all the information, we cannot retrieve the actual work out stats without scraping the timeline's card html. Obviously, you can tell that this is very fragile and probably shouldn't be done. The correct solution here is to persist completed workouts for users and then we can just associate finish card we sent with the workouts are the completed (from the datastore).

This isn't technically difficult of course but it will take quite a bit more time than expected to re-engineer what we currently have. I can do this if you want but I wonder if you'd like me to spend that much time working on the prototype. Anyway, it's your call. The compromise that I can do for now is to share the completion of the workout without any of the details of what the workout was.

stigsfoot commented 11 years ago

Sounds like its not worth the effort to reengineer based on a prototype so we'll go the path of least resistance. FYI Rudi, I am back home and will be going full-retard on this Glass stuff now. I have meetings etc with prospects that need stuff built so next week I'll be doing that and keeping the interest going for our project through the press etc. I have some ideas on how the models will be architected so at some point we should do a hangout or skype to walk through that. Also I think with what we have a nice project for us would be to start thinking about how to implementing the "freemium business model (i.e. purchasing additional workouts ) and the subscription business model (i.e. subscribing to a different workout of the days). I'll work on different pricing strategies for it. I think while we work on other projects we can see how many will actually pay $$ for this prototype. What do you think.