>Suggestions and Feature Requests>Twitter Integration
Apparently this is still pretty low on the priority list, since the last time it was discussed was over a year ago, back in 2010. I was going to look at creating a Greasemonkey script or Firefox/Chrome extension to add these buttons to the workout page next to each workout - it doesn't look too difficult, given the Twitter documentation for the API and Tweet button. The hardest part will be ensuring it parses each workout correctly with the proper data to include in the default text - If I get something like this developed soon, I'll let everyone know.
2012 planned and actual races:
- 1/21/2012 CRC Trail Race (9 mi) [PR: 1:22:32]
- 2/25/2012 Charlotte 10 Miler [Goal- 1:15:00; PR: 1:13:42]
- 3/25/2012 NC Half Marathon at the Charlotte Motor Speedway [Goal 1:40; Actual 1:48:03 w/ a screaming IT Band]
- 4/21/2012 Autism Society 5K Puzzle Run [PR: 21:52]
- 6/2/2012 King Tiger 5K [PR: 20:54]
- 7/13/2012 Streetlights 5K [Goal- 20:33, Actual 22:01]
FYI, I just created version 0.1 of this Greasemonkey script. So far it does the very basics - on an individual workout page, it creates a "Tweet" button that when pressed, opens a Twitter popup that has editable text prefilled with:
"Ran [YY miles] in [XX:YY.ZZ]. (via http://runningAHEAD.com) [link to individual workout page]"
I'm in the process of ensuring it works with equivalent messages for Bike/Swim/Weight/Other workouts as well, and then I'll publish it to userscripts.org and make an announcement on the forums here.
Down the road, I may have time to make more updates to this script, including the following:
Eric: FYI, Twitter's "tweet" button is now really easy to integrate into a site (documentation here) and this really wouldn't be too hard to add in a prettier/cleaner format - I'm using XPath commands and regular expressions to grab and parse elements, and insert the new one in the right location, but all of this would be moot if you could just use your existing site variables to propagate the fields of the Tweet button and lay it in the proper place. I know it's not a high priority for you and that's why I put this script together, but it shouldn't be tough, when you do have the time to commit, to turn this into a site feature and make this script obsolete.
A Dance with Monkeys
Rock n Roll Ross!!
I'm running somewhere tomorrow. It's going to be beautiful. I can't wait.
I know it's not a hard thing to add., but there never seem to be a right time for me to work on this. I'll see what I can do after I settle into my new home.
FYI, just wanted to point out I started a separate thread that announces the TwitterAHEAD Greasemonkey script you can install to post your workouts to Twitter.
© 2014 RunningAHEAD, LLC. All rights reserved.
| Terms of Service