Mais conteúdo relacionado Semelhante a How to create social apps for millions of users (20) Mais de Bastian Hofmann (18) How to create social apps for millions of users 1. How to create social
apps for millions of
users
Bastian Hofmann
VZnet Netzwerke Ltd.
4. • ... a set of APIs to access the social graph of
users
• ... a specification for including 3rd party
applications (gadgets) into social services
7. What is a Gadget?
• XML file with HTML and
JavaScript (and CSS,
Images, Flash, ...)
• Application based on the
Google Gadgets
specification
• Can be included on
various platforms
19. OpenSocial Templates Proxied Content
PubSub
OSAPI OAuth Proxy Requests
OpenSocial on the iPhone
AppData
DataPipelining
OEmbed
Let‘s start programming
24. Proxy
Container Shindig
vz.net apivz.net
Ajax
HTTP
Gadget Gadget Backend
Ajax
apivz.net api.twitter.com
26. 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, Signature
http://oauth.net/