Service APIs Most service providers have a REST API APIs are vary from provider to provider Different Concept Different resource URLs Different Formats (JSON/XML) Different Error handling Most service Providers secure their REST APIs with OAuth
Socializing your application ( Facebook )
Socializing your application
“We are building a web where the default is social.”
20 February 20152
What is an App/Game/page on Facebook?
How to create a simple app.
SDKs for using Facebook APIs.
Comparison of Social Channels.
Open Source SDK’s
20 February 20154
Facebook Page Facebook App Facebook Games(App)
Webpage used for
Application that integrates
with the facebook platform
Same as an application
with gaming capabilities.
Static page – no logic. Applications have their
own logic. They are like
iframes within the
Application with added
Has a by default. An app page does not
show the number of
people who 'like' it. It
shows numbers like MAU
20 February 20157
• Is based on the open graph
• Low-level HTTP-based API that
you can use to query data,
post new stories, create check-
• Underlying mechanism used by
the Facebook SDKs and other
3rd party toolkits.
• Graph API explorer can be
used to check the requests
sent via the Graph API.
Social Plugins on Facebook
20 February 20158
Social Channels Comparison
20 February 20159
Requests Feed Open Graph Bookmarks
1:1 1:1 & 1:N 1:N 1:1
State Transient Transient Permanent
User Interaction - the direction of communication: sender to single recipient or multiple
Visibility - who can view the communication: only the recipient or everyone.
Value - when to use the channel: acquiring new users or engaging existing users.
State - whether the communication is permanent or transient.
Open Source SDKs / Framework
20 February 201510
• Sign in with provider
Twitter and Facebook provide sing in options
o Provider specific
o limited providers who offers this features.
• We need more general sing in strategy
Consistent across all providers
• Service APIs
Most service providers have a REST API
APIs are vary from provider to provider
o Different Concept
o Different resource URLs
o Different Formats (JSON/XML)
o Different Error handling
• Most service Providers secure their REST APIs with OAuth
Open Source SDKs – Spring Social
20 February 201511
• Spring Social is an extension of the Spring Framework that allows you to connect
your applications with Software-as-a-Service (SaaS) providers such as Facebook
Spring Security Spring MVC Spring Database