Build a Facebook Open Graph app

This article first appeared in the issue 226 of .net magazine – the world's best-selling magazine for web designers and developers.

In this tutorial we will create a simple Open Graph application using the Facebook JavaScript SDK and a single HTML page. The application will make use of the new Open Graph APIs, allowing users to publish to the ticker, timeline and newsfeed.

The Open Graph platform has the potential to unlock massive distribution for developers, yet it can feel complex and overwhelming. This demo app has been kept deliberately simple to focus on the key concepts and to allow you to understand how they can be applied to your own applications.

The app will allow users to authenticate with it, and post to their ticker/ timeline whenever they climb a mountain. We will then look at using Social plug-ins as a way of providing a social experience to the user before they even authenticate!

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.