Facebook touts Open Graph versatility

Facebook has posted details of a number of internal applications that use the company's Open Graph protocol

In an effort to encourage broader use of its Open Graph protocol, Facebook has posted a number of examples of how the company used the Web standard to build its own internal apps.

The collection, described by Facebook developer Paul Tarjan in a blog post, displays a wide range of ways that the Open Graph could be used, such as in code review, fitness tracking and image sharing.

The tools were created as a way to test the company's Open Graph protocol internally before it was released for others to use, Tarjan explained. Some of the apps, a small subset of all the internally developed apps, were built during the company's hackathons, where developers could spend time building their pet projects, according to the company.

"One of the cool things about building on our own platform is that we've been able to catch bugs and figure out pain points for developers," Tarjan wrote. "We learned that it's really important to think hard about how you want to model your objects and actions at the beginning."

Although Facebook has not released any of these apps, Tarjan described how they work in the blog post, and discussed some of the decisions that drove their design.

One tool connects code review software used by Facebook engineers, called Phabricator, to the Facebook timeline, allowing project participants to share information on code changes. It also provides an easy way to summarize how many lines of code were committed by each developer and to pinpoint the biggest change each developer committed to the project.

Another app, called Pixelcloud, allows Facebook developers to share mock-ups, screenshots and other graphical files, and keep track of which users reviewed a particular item.

Not all apps are work-related: One creation, called StayFit, logs into Facebook each time the user checks into the Facebook employee fitness center. Thus far, 322 Facebook employees have installed the app and 249 people use it on a monthly basis. Facebook developers are now looking for ways for the app to draw user workout data directly from elliptical machines and treadmills.

The post also described apps for recognizing spam, aggregating data in memory so it can be analyzed, and for spawning a Pokemon animation that flies across a page each time the user finishes a task.

While divergent in the tasks they execute, each of these apps adheres to a similar design pattern. The developers described their data model in the Open Graph syntax and connected with Facebook through an API (application programming interface).

Launched in 2010, Facebook's Open Graph provides a protocol for third-party applications to publish information to the Facebook platform through a set of RDFa (Resource Description Framework in attributes) tags. RDFa has been cited as an instrumental technology for enabling the semantic Web, an effort to structure Web pages so that their information could be directly consumed by Internet services.

Using Open Graph, a third-party application can provide user data to Facebook, so it can be automatically rendered on the user's timeline.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service
Show Comments

Cool Tech

Toys for Boys

Family Friendly

Stocking Stuffer

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Aysha Strobbe

Microsoft Office 365/HP Spectre x360

Microsoft Office continues to make a student’s life that little bit easier by offering reliable, easy to use, time-saving functionality, while continuing to develop new features that further enhance what is already a formidable collection of applications

Michael Hargreaves

Microsoft Office 365/Dell XPS 15 2-in-1

I’d recommend a Dell XPS 15 2-in-1 and the new Windows 10 to anyone who needs to get serious work done (before you kick back on your couch with your favourite Netflix show.)

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?