Post on 29-Jul-2015
Socializing your application
Click to insert a picture
“We are building a web where the default is social.”
Contents
April 15, 20232
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
Difference: App/Game/Page
April 15, 20234
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.
Graph API
April 15, 20237
• 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.
Social Plugins on Facebook
April 15, 20238
Like
Feed Stories
Request
Open Graphs
Scores and Achievements
Search
Social Channels Comparison
April 15, 20239
Requests Feed Open Graph BookmarksUser Interaction 1:1 1:1 & 1:N 1:N 1:1
Visibility PrivateFriends 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.
Open Source SDKs / Framework
April 15, 202310
• 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
April 15, 202311
• 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