Socializing you application using social sites. Facebook provides different frameworks and ways to may you application social. In presentation we have explain this shortly.
2. Contents
20 February 20152
What is an App/Game/page on Facebook?
How to create a simple app.
Open Graph
Facebook API.
SDKs for using Facebook APIs.
Social Channels
Comparison of Social Channels.
Open Source SDK’s
4. Difference: App/Game/Page
20 February 20154
Open Bug(s)
Facebook Page Facebook App Facebook Games(App)
Webpage used for
advertisement purpose.
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
facebook canvas.
Application with added
Social engagement
features.
Has a by default. An app page does not
show the number of
people who 'like' it. It
shows numbers like MAU
instead.
7. Graph API
20 February 20157
• Is based on the open graph
protocol.
• Low-level HTTP-based API that
you can use to query data,
post new stories, create check-
ins etc.
• 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.
8. Social Plugins on Facebook
20 February 20158
Like
Feed Stories
Request
Open Graphs
Scores and
Achievements
Search
9. Social Channels Comparison
20 February 20159
Requests Feed Open Graph Bookmarks
User
Interaction
1:1 1:1 & 1:N 1:N 1:1
Visibility Private
Friends and
Friends of
Friends
Public Private
Value
Acquisition &
Engagement
Engagement
Acquisition &
Engagement
Engagement
State Transient Transient Permanent
Permanent &
Transient
User Interaction - the direction of communication: sender to single recipient or multiple
recipients.
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.
10. 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
11. 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
and Twitter.
Spring Security Spring MVC Spring Database
Connect
Framework
Service provider
Framework
Sing-in
Controller
Spring Social
Facebook
Spring Social
Twitter
Spring Social
LinkedIn
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