getting started with facebook opengraph api

16
Open Graph for Developers @LynnLangit

Upload: lynn-langit

Post on 05-Dec-2014

6.325 views

Category:

Technology


1 download

DESCRIPTION

deck showing how to get starte

TRANSCRIPT

Page 1: Getting started with Facebook OpenGraph API

Open Graph for Developers

@LynnLangit

Page 2: Getting started with Facebook OpenGraph API

What and Why Open Graph?• A Facebook API to share information

From your application To Facebook

• Ex. Pinterest

Page 3: Getting started with Facebook OpenGraph API

First Look

Click icon to add picture

Open Graph by Example

Page 4: Getting started with Facebook OpenGraph API

DemoOpen Graph Word Press plug in

Page 5: Getting started with Facebook OpenGraph API

Open Graph in 30 minutesWordpress Plug-in

Page 6: Getting started with Facebook OpenGraph API

Understanding more…• Look at Open Graph for Facebook application development

o Beyond the ‘Like’ buttono Adding more information – noun / verb, i.e. “I cooked this recipe”

• Understand how to get started coding using a single API• Learn concepts - User / Action / Object / Aggregation

Page 7: Getting started with Facebook OpenGraph API

Displaying Open Graph InfoUse a single APIEnable Open Graph actions To appear on Social Channel -- Newsfeed-- Ticker-- Timeline

Page 8: Getting started with Facebook OpenGraph API

User->Action->Object

Actions and objects are the building blocks of Open Graph

Page 9: Getting started with Facebook OpenGraph API

Planning for Open Graph

After a student codes and builds a recipe (lesson), then:1) Post a story to their timeline 2) Post their name3) Post a picture of the output (screenshot)4) Post the name of recipe5) The timeline story should read as follows:

“Lynn built the TKP SQUARE recipe today using Java”

Teaching Kids ProgrammingStudent

Page 10: Getting started with Facebook OpenGraph API

DemoSetting up an Open Graph application

Page 11: Getting started with Facebook OpenGraph API

Objects, Actions, Aggregations for TKP

Page 12: Getting started with Facebook OpenGraph API

Working with Open Graph• Core Concepts

o Objects are nounso Actions are verbs (and must be approved) by Facebook staffo Aggregations are views on Timeline, Newsfeed or Ticker

• Wire up Open Graph Objects to web pages with <meta> tagso Tags in the <head> section of the pageo Tags describe the type of the object, the name of the object and other

key information

Page 13: Getting started with Facebook OpenGraph API

Using Open Graph

CREATE your Facebook

Application w/a

namespace

USE default ACTIONS and OBJECTS to your Open

Graph

ADD new or CUSTOMIZE existing Open Graph items:• Objects• Actions • Aggregations

TEST your application using Tools• Graph API

Explorer• Facebook

Activity Log

WIRE up your application to

your Open Graph

Page 14: Getting started with Facebook OpenGraph API

Using the Samples Gallery

From the samples gallery - here

Click icon to add picture

Page 15: Getting started with Facebook OpenGraph API

Try it out• Build an app which uses Open Graph API• Put your on app center

Page 16: Getting started with Facebook OpenGraph API

Learn More