creating social games for millions of users

53
How to create social games for millions of users Bastian Hofmann VZnet Netzwerke Ltd.

Upload: bastian-hofmann

Post on 04-Dec-2014

1.681 views

Category:

Technology


4 download

DESCRIPTION

Slides of my workshop at the QuoVadis conference about the creation of social games, based on OpenSocial

TRANSCRIPT

Page 1: Creating social games for millions of users

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

Page 2: Creating social games for millions of users

• Social games at VZnet

• Introduction to OpenSocial

• Key concepts of OpenSocial

• Demo: Creating a social game

Page 3: Creating social games for millions of users
Page 4: Creating social games for millions of users
Page 5: Creating social games for millions of users
Page 6: Creating social games for millions of users
Page 7: Creating social games for millions of users

You?

Page 8: Creating social games for millions of users

Questions? Ask!

Page 10: Creating social games for millions of users
Page 11: Creating social games for millions of users

Apps  and  Games  @VZnet

33  Mio.  Installs

1,8  Mio.  DAU

5,5  Mio.  MAU

Page 12: Creating social games for millions of users

VZ-­‐Apps  compared  to  other  gaming  sites

  Daily  Unique  Visitors  (Mio) Time  on  Site  (min)

VZ-­‐Apps 1,80 10:50

jetztspielen.de 1,30 13:50

gameduell 1,10 20:00

SpieleFpps.de 1,00 09:00

king.com 1,00 28:00

BigPoint 1,00 05:40

1001spiele.de 0,46 20:00

spielkarussel 0,43 14:40

gamesload 0,29 04:30

feLspielen 0,24 14:20

spielen.de 0,18 12:30

Yahoo!  Spiele 0,16 04:30

spiele-­‐zone.de 0,12 12:00

sevengames 0,11 05:50Google! Adplanner, Feb 2010

Page 13: Creating social games for millions of users

Dorfleben  (HalfQuest)

Page 14: Creating social games for millions of users

DEMO

Page 15: Creating social games 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 16: Creating social games for millions of users
Page 17: Creating social games for millions of users
Page 18: Creating social games for millions of users

Top  Developers  at  VZnet

Beijing  ELEX4.6  Mio.

Plinga2.08  Mio.

i-­‐Jet  Media1.33  Mio.

Monthly active users within all applications

Page 19: Creating social games 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 20: Creating social games for millions of users

Rendering

Page 21: Creating social games for millions of users

GADGETapivz.net

CONTAINERmeinvz.net

Page 22: Creating social games for millions of users

Social APIs

Page 23: Creating social games for millions of users

• OpenSource implementation of an OpenSocial container

• Java and PHP versions available

• New: MySpace is currently open sourcing their .NET implementation

http://shindig.apache.org/

Page 24: Creating social games for millions of users

Views

Page 25: Creating social games for millions of users

CANVAS

Page 26: Creating social games for millions of users

PROFILE

Page 27: Creating social games for millions of users

POPUP

Page 28: Creating social games for millions of users

GROUP

Page 29: Creating social games for millions of users

EMBED

Page 30: Creating social games for millions of users

PREVIEW

Page 31: Creating social games for millions of users

Features

Page 32: Creating social games for millions of users

VIEWER

Page 33: Creating social games for millions of users

Authentification

• Two-Legged or Three-Legged OAuth

• Security Token for JavaScript requests from gadget

Page 34: Creating social games for millions of users

Application models

Page 35: Creating social games for millions of users

JavaScript basedContainervz.net

Gadget apivz.net

Gadget Backendapi.twitter.com

Ajax

HTTP

Shindigapivz.net

HTTP

Page 36: Creating social games for millions of users

Containervz.net

Gadget apivz.net

Gadget Backendapi.twitter.com

Shindigapivz.net

Ajax

Ajax

HTTP

Proxy

Page 37: Creating social games for millions of users

Containervz.net

Gadget apivz.net

Method Call

- window.postMessage

- Iframes with relay files

- Flash

JavaScript RPC

Page 38: Creating social games for millions of users

FlashContainervz.net

Gadget apivz.net Gadget Backend

api.twitter.comHTTP

Shindigapivz.net

Flash

Ajax

HTTP

HTTP

Page 39: Creating social games for millions of users

RedirectingContainervz.net

Gadget Backendapi.twitter.com

Shindigapivz.net

iframeapi.twitter.com

HTTP

Ajax

Page 40: Creating social games for millions of users

Additional IframeContainervz.net

Gadget apivz.net Gadget Backend

api.twitter.com

Shindigapivz.net

iframe

Ajax

Ajax

HTTP

Page 41: Creating social games for millions of users

Let‘s start programming

OpenSocial Templates

OpenSocial on the iPhone

OEmbed

OAuth Proxy Requests

DataPipelining

OSAPI

Proxied Content

Page 43: Creating social games for millions of users

DEMO

Page 44: Creating social games for millions of users

Proxied Content

Page 45: Creating social games for millions of users

DEMO

Page 46: Creating social games 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/

Page 47: Creating social games for millions of users

DEMO

Page 48: Creating social games for millions of users
Page 49: Creating social games for millions of users
Page 50: Creating social games for millions of users
Page 51: Creating social games for millions of users
Page 52: Creating social games for millions of users

DEMO