Title: Introduction to Facebook SDK
1Introduction to Facebook SDK
- Gaurav Jaiswal
- Singsys Pte. Ltd.
2What is Facebook?
3Facebook is a popular free social networking
website that allows registered users to create
profiles, upload photos and video, send messages
and keep in touch with friends, family and
colleagues. The site, which is available in 37
different languages, includes public features
such as
4Marketplace - allows members to post, read and
respond to classified ads. Groups - allows
members who have common interests to find each
other and interact. Events - allows members to
publicize an event, invite guests and track who
plans to attend. Pages - allows members to
create and promote a public page built around a
specific topic. Presence technology - allows
members to see which contacts are online and chat.
5- More than 665 Million active users on Facebook
- 50 of users log on every day
- The average user has 130 friends
- The average user is connected to 80 pages, groups
and events - The averse user spends over 7 hours on Facebook
per month
6Importance of Facebook for Business
7Why is Facebook important to your business?
- It can help you
- Get found
- Build Credibility
- Engage with your target market
- It's low cost Marketing
- Increase you online footprint
- Build community
8What you can do on Facebook for your Business?
- Create Facebook Page
- Get "Likes
- Engage with Fans
- Integrate Facebook with you Web and Mobile Apps
9Why Create Facebook Page?
- Interact and Engage
- Highlight Specials / Events
- Update you fans quickly / easily
- Show much more Company info
- Extend your brand visually to Facebook
- Showcase Testimonials
- Inform, Educate
- Extend loyalty and deepen interaction
10Why Likes?
- With the Like they are opting in to hear from you
- Every time someone interacts with your business,
that action gets published into the News Feed,
creating work of mouth - These organic stories are extremely effective at
getting other to engage and take action
11You can't fake "being social!
- It's not build it and you're done
- Engage with Fans
- Don't give it the hard sell
- Ask open ended questions
12Facebook for Developers
13What is Oauth (Open Authentication) ?
- OAuth (Open Authentication) is a system which
grants third-party websites limited access into
user accounts for example your Twitter or
Facebook accounts. It lets visitors interact
within the site without requiring new account
registration or releasing your username and
password to third parties
14Why to use OAuth?
- If you consider how much more connected the
Internet has become, it only makes sense that
users will want to share information between
multiple accounts from Facebook into Twitter,
Tumblr, Foursquare, and now even into mobile apps
such as Path or Instagram. - The problem we face now is how to accomplish this
in the most secure and simplest way possible.
OAuth is an attempt to solve this problem.
15How OAuth works?
- There are 3 parties to consider in a standard
OAuth call - Service Provider The main network you are
trying to pull data from. They provide the API
response such as your username, profile picture,
website URL, and other stuff. - Consumer The 3rd party app looking to receive
data. This would be the website or mobile app
which makes the initial connection request, then
also handles the return data after authorization. - User The person sitting behind the computer
interacting with the websites which would be you!
16The purpose of OAuth isnt to provide a specific
library for websites to use. It actually sets up
the rules for building an open protocol API.
17Integration of Facebook
18Integration of Facebook can be done with
19Getting Started With Facebook For Websites
20In this guide
- Adding social features with Plugins
- Sharing content back to Facebook
- Your website as an app on Facebook
- Making your content look good on Facebook
- Getting to know your users
- Telling stories with your content
- Measuring your success
21Adding social features with Plugins
22List of Social Plugins
- Like Button
- Send Button
- Follow Button
- Comments
- Share Dialog
- Activity Feed
- Recommendations Box
- Recommendations Bar
- Like Box
- Login Button
- Registration
- Facepile
23Like Button
- The most commonly used social plugin is the Like
Button, which lets your users share your page
with their friends with just a click.
24Send Button
- The Send button lets users easily send content to
their friends. People will have the option to
send your URL in a message to their Facebook
friends, to the group wall of one of their
Facebook groups and as an email to any email
address. The Send button requires the JavaScript
SDK.
You can get Send button code from -
https//developers.facebook.com/docs/reference/plu
gins/send/
25Follow Button
- The Follow button lets other people follow your
public updates on Facebook.
26Comment Box
- The Comments Box lets users comment on any piece
of content on your site. Features include
moderation tools and distribution.
27Share Dialog
- Facebook offers an easy-to-use Share dialog that
you can include on your web page or in your
mobile web app so people can share links on their
timeline, in groups, or to their friends via a
Facebook Message. People open the Share dialog by
clicking a link on your website, which opens a
new window to a special URL on Facebook.
28Activity Feed
- The activity feed plugin displays the most
interesting recent activity taking place on your
site.
29Recommendations Box
- The recommendations box shows personalized
recommendations to people using your app or
website
30Recommendations Bar
- The recommendations bar lets people like content,
get recommendations and share what theyre
reading with their friends. - The recommendations bar is always docked to the
lower right or left of the screen. When the page
loads the recommendations bar is collapsed and
people viewing it are shown the option to like
your page. - As people navigate toward the end of your page,
the plugin expands. The expanded view displays a
social recommendation of the next article to read
on your site.
31Like Box
- The like box is a social plugin that enables
Facebook Page owners to attract and gain likes
from their own website. The like box enables
people using your app or website to do the
following - See how many people like the Page, and which of
their friends like it, too. - Read recent posts from the Page.
- Like the Page with one click, without needing to
visit the Page.
32Login Button
- When an app or website displays the login button,
it provides people a way to log in and also shows
the profile pictures of their friends who have
already logged in for the app or site
33Registration
- The registration plugin lets people easily sign
up for your website with their Facebook account.
The plugin is a simple iframe that you can drop
into your page. When logged into Facebook, people
see a form that's prefilled with their Facebook
information, where appropriate
34Facepile
- The Facepile plugin displays the Facebook profile
pictures of people who have connected with your
Facebook page via a global or custom action. It
can also be configured to display pictures of
people who have connected with your app
35How to Create Facebook App?
36Create Facebook App
- To create Facebook app go to http//developer.face
book.com/
37Thank You!