27
How to create social apps for millions of users Bastian Hofmann VZnet Netzwerke Ltd.

How to create social apps for millions of users

Embed Size (px)

DESCRIPTION

My presentation on OpenSocial app development from the Confoo Conference

Citation preview

Page 1: How to create social apps for millions of users

How to create social apps for millions of usersBastian HofmannVZnet Netzwerke Ltd.

Page 2: How to create social apps for millions of users

About me

Page 3: How to create social apps for millions of users

Questions? Ask!

Page 4: How to create social apps for millions of users

• ... a set of APIs to access the social graph of users

• ... a specification for including 3rd party applications (gadgets) into social services

Page 5: How to create social apps for millions of users
Page 6: How to create social apps for millions of users
Page 7: How to create social apps for millions of users

• XML file with HTML and JavaScript (and CSS, Images, Flash, ...)

• Application based on the Google Gadgets specification

• Can be included on various platforms

What is a Gadget?

Page 8: How to create social apps for millions of users

Rendering

Page 9: How to create social apps for millions of users

Social APIs

Page 10: How to create social apps for millions of users

Views

Page 11: How to create social apps for millions of users

CANVAS

Page 12: How to create social apps for millions of users

PROFILE

Page 13: How to create social apps for millions of users

POPUP

Page 14: How to create social apps for millions of users

GROUP

Page 15: How to create social apps for millions of users

EMBED

Page 16: How to create social apps for millions of users

PREVIEW

Page 17: How to create social apps for millions of users

Features

Page 18: How to create social apps for millions of users
Page 19: How to create social apps for millions of users

Let‘s start programming

OpenSocial Templates

OpenSocial on the iPhone

OEmbed

OAuth Proxy Requests

DataPipelining

OSAPI

AppData

Proxied ContentPubSub

Page 21: How to create social apps for millions of users

DEMO

Page 22: How to create social apps for millions of users

Proxied Content

Page 23: How to create social apps for millions of users

DEMO

Page 24: How to create social apps for millions of users

Containervz.net

Gadget apivz.net

Gadget Backendapi.twitter.com

Shindigapivz.net

Ajax

Ajax

HTTP

Proxy

Page 25: How to create social apps for millions of users

DEMO

Page 26: How to create social apps for millions of users

OAuth 1.0a Flow +----------+ +---------------+ | -+----(B)-- Request Token -------->| | | End-user | | Authorization | | at |<---(C)-- User authenticates --->| Server | | Browser | | | | -+----(D)-- Verifier -------------<| | +-|----|---+ +---------------+ | | ^ v (B) (D) | | | | | | ^ v | | +---------+ | | | |>---(A)-- Redirect URL ---------------| | | Web |<---(A)-- Request Token + Secret -----| | | Client |>---(E)-- Request Token, Verifier ----' | | |<---(E)-- Access Token + Secret -------------' +---------+

Every Request: Client Credentials, Nonce, Timestamp, Signaturehttp://oauth.net/