Introduction to Facebook SDK - PowerPoint PPT Presentation

View by Category
About This Presentation

Introduction to Facebook SDK


Introduction to Facebook SDK, Open Authentication (OAuth), Integration of facebook Social Plugins in your website – PowerPoint PPT presentation

Number of Views:198


Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: Introduction to Facebook SDK

Introduction to Facebook SDK
  • Gaurav Jaiswal
  • Singsys Pte. Ltd.

What is Facebook?
Facebook 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
Marketplace - 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.
  • 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

Importance of Facebook for Business
Why 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

What you can do on Facebook for your Business?
  • Create Facebook Page
  • Get "Likes
  • Engage with Fans
  • Integrate Facebook with you Web and Mobile Apps

Why 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

Why 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

You 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

Facebook for Developers
What 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

Why 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.

How 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!

The 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.
Integration of Facebook
Integration of Facebook can be done with
Getting Started With Facebook For Websites
In 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

Adding social features with Plugins
List of Social Plugins
  • Like Button
  • Send Button
  • Follow Button
  • Comments
  • Share Dialog
  • Activity Feed
  • Recommendations Box
  • Recommendations Bar
  • Like Box
  • Login Button
  • Registration
  • Facepile

Like 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.

Send 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

You can get Send button code from -
Follow Button
  • The Follow button lets other people follow your
    public updates on Facebook.

Comment Box
  • The Comments Box lets users comment on any piece
    of content on your site. Features include
    moderation tools and distribution.

Share 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.

Activity Feed
  • The activity feed plugin displays the most
    interesting recent activity taking place on your

Recommendations Box
  • The recommendations box shows personalized
    recommendations to people using your app or

Recommendations 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.

Like 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
  • 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.

Login 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

  • 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

  • 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

How to Create Facebook App?
Create Facebook App
  • To create Facebook app go to http//developer.face

Thank You!