You can now attach metadata for each client that connects to a session. For example, you can add information about the connecting user. When a client connects to the session, all existing clients connected to the session can access the metadata for the new connection.
You add this metadata by passing it into the generate_token() method of the OpenTok server-side library. The metadata is then securely embedded in the token string. Here’s an example, using the OpenTok PHP library:
Seb Lee-Delisle gave an absolutely smashing talk at GothamJS on Saturday about particle physics on the HTML5 Canvas. He did a live code-along and in less than forty minutes we all made some HTML5 eye candy just like in this video:
At TokBox we put our normal schedule aside for a couple days to run our first internal hackathon. The rules were simple: pitch an idea, form teams, build something, then demo it 30 hours later. The winning team would get a prize.
My team didn’t win (though we were proudly among the first losers), but it was a really positive experience. Here’s why I think every company should try doing an internal hackathon:
It’s been three weeks since I’ve started my internship. Since then, I have worked on quite a few projects, ranging from showcase to prototype apps. The one in particular that I’m quite proud of is Lollapaloobox; a mash-up between the OpenTok & Hacklolla APIs. The web app allows users to enjoy the full concert experience from the comfort of their homes.
This past weekend Tokbox was at Game Hack Day in NYC and we must say it was more fun than we expected. The organizers had a great set of API presentations which included Foursquare, Twilio, OMGPOP, Aviary, and of course OpenTok. We also had the pleasure of learning more about some pretty cool libraries and hardware to hack with. They really went all out, even procuring Parot AR Drones and Microsoft Kinect devices to entice the participants and spark some creativity.
One thing is for sure: the developer and hacker community cares about sparking positive change. After spending a weekend as a hacker at the Hack for Change event (superbly hosted by Change.org), I saw over a dozen great ideas to hear about problems, find solutions and get people involved in those solutions. I wanted to highlight some of my favorites:
GoodNeighbor: Help get small tasks done like changing a lightbulb or taking out the trash for an elderly or disabled person in your neighborhood.
FindMeAPet.org: Save an animal from being put down by subscribing to data on incoming animals from local shelters.
IGotUGot: Backyard gardening exchange that helps you connect with the community and barter using whatever you grow at home (or have extra laying around).
PDB: Personal Daily Breifing the way Obama gets on his desk every morning, stay in touch with issues that you care about.
PicketLine.us: Voice your protest against a corporation and the practices you dislike. Profile the company and what people think about their choices.
SafeHood: Take your neighborhood watch digital via SMS notifications, simple and anonymous.
AnonyMouse: Connecting LBGT youth with mentors that can safely and anonymously answer difficult questions for someone who needs a conversation to help them get through a challenge.
AnonyMissing: Report lost friends without compromising yourself by keeping it anonymous
ShoppingAdvisor: Using data from GoodGuide to give you an aggregate view of your Amazon shopping history based on impact on the environment, carbon footprint, and other social awareness metrics.
What’s About My City: Spread the word about problems in your town and vote on those you agree should be fixed.
GreatDebate: Embed widgets on your own sites to connect with a cause and get decision maker feedback on that cause right away.
Alerter: Better emergency response is one tap away. Uses your medical profile, your select contacts (incl. Facebook), and your selected messages to get the word out when you need help.
GoChip.in: Event management for volunteer coordinators
Corrupt: report acts of corruption around you and hold those people accountable publicly (I worked on this one)
GovContrib: a bookmarklet that gives you a quick reference on how much certain companies have contributed to certain parties (uses Sunlight API)
Piece of Mind: An online and offline way for veterans to connect and voice stories through art. Kickstarter donation funded mosaic to be built.
Congratulations to GoodNeighbor (first prize), AnonyMouse (runner up), FindMeAPet (second runner up), Alerter (honorable mention) and all the teams that hacked though the wee hours on their projects. These ideas weren’t about building the next Fortune 500 company and retiring early, they were about making a difference in people’s lives. Seeing people staying up all night for that, truly is admirable.