Facebook 3rd Party Api

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    2 Favorites & 1 Group

    Facebook 3rd Party Api - Presentation Transcript

    1. FACEBOOK FOR DEVELOPERS Yossi Cohen, CTO Idan Katalan, Application Programmer DSP-IP
    2. OVERVIEW
      • Facebook Introduction
      • Facebook API capabilities
      • Facebook application types
      • Facebook language support
      • Facebook & Microsoft
    3. FACEBOOK INTRODUCTION
      • Facebook - social service enabling people to share and connect
      • Facebook allows you to search for your friends co-workers and anyone you know.
      • Facebook is an easy to use and manage, web 2.0 application.
      • Facebook allows any user to build it’s own applications using the benefits of their social grid.
      • More than that, Facebook architecture causes a mass distribution of your applications.
    4. FACEBOOK API CAPABILITIES
      • facebook API allows you to access any relevant information the user exposes to your application.
      • facebook gives you access to profiles, friends, photos, groups, and much more.
      • FQL - Facebook Query Language
      • facebook API allows you to perform queries on their DB by writing queries. FQL queries syntax is similar to SQL queries.
      • FBML - Facebook Markup Language - similar to HTML syntax. Provides easily integration with facebook platform.
    5. FACEBOOK APPLICATION TYPES
      • There are three main application types Facebook supports:
        • External Desktop Application .
        • External Web Application.
        • Internal Facebook Application.
      • These three types of applications allows you, the developer, to bind Facebook data to any application you’re writing.
    6. FACEBOOK LANGUAGE SUPPORT
      • Facebook officially supports PHP 4/5 and Java client libraries
      • Facebook partnered with Microsoft to support .Net applications
      • Facebook API language support includes:
        • ActionScript
        • Cocoa
        • ColdFusion
        • Perl
        • Python
        • Ruby
    7. FACEBOOK & MICROSOFT
      • Facebook has a .Net library containing all you need, as a developer, for using Facebook through your desktop or web application.
      • The .Net library contains Desktop controls, Web controls, Facebook
      • Microsoft also supports Facebook with their PopFly application that allows the developer easily build an application.
      • Developing facebook application
    8. ADDING NEW APPLICATION
      • Opening a new application
      • For external application: In the callback URL you enter the URL of your application.
      • For internal application you need to enable the “Can your application be added on Facebook?” selection.
      • Fill your application URLs in the added fields.
      • After completing the registration you get API key and Secret strings to use in your application.
    9. CODE REVIEW
      • At your website project, Add reference to Facebook.dll and to Facebook.WebControls.dll.
      • At the .cs code file write the following:
      • new protected void Page_Load(object sender, EventArgs e)
      • {
      • base.Api = “Your Application key”; //Inform which application to use.
      • base.Secret = “Your Application Secret”; //Added encryption for security.
      • base.Page_Load(sender, e); //must be called
      • if (!IsPostBack) {
      • //Use Facebook API to pull data from Facebook.
      • Facebook.Entity.User user = this.FBService.GetUserInfo();
      • Collection<Facebook.Entity.User> friends = this.FBService.GetFriends();
      • }
      • }
    10. CODE REVIEW (CONTD.)
      • Now we can use the data from Facebook in our application.
      • Let’s first build a simple page in ASP.Net
      • This page declares two labels that will be rendered in the server-side, and a link to another page.
      • Pay attention to the ID attr. of the asp:labels, we will use these IDs now.
    11. CODE REVIEW (CONTD.)
      • Now we need to insert the data we pulled from Facebook platform into our web page.
      • lblHelloWorld.Text = &quot;Hello &quot; + user.Name + &quot; you have &quot; + friends.Count + &quot; friends + &quot;...&quot; + this.FBService.SessionKey;
      • this.FBService.SetFBML(&quot;Hello &quot; + u.Name + &quot; you have &quot; + f.Count + &quot; friends”);
      • //Set FBML method sets an FBML string to the profile page.
      • lblDashboard.Text = &quot;<fb:dashboard><fb:action href=&quot;http://apps.facebook.com/aspnetcanvasfbml/default3.aspx&quot;>
      • Go to Default3
      • </fb:action></fb:dashboard><br/>&quot;;
      • //Sets FBML dashboard element to the applcication
      • That’s all you need to create an application
    12. DSP-IP SERVICES
      • Outsourcing, consulting and development services
        • Video encoding and streaming
        • Flash Video, VP6
        • IPTV architecture and services
        • Recommendation System consulting
        • Video on DSP platforms (TI DSPs)
        • Video Advertisement in IPTV, Internet and mobile
        • Image processing
    13. DSP-IP CONTACT INFORMATION
      • www.dsp-ip.com
      • Giborey Israel 20, POB 8323, Netanya, Israel
      • Office Phone: 09-8850956, Fax: 050- 8962910
      • HR Services:
        • Michal Porat
        • [email_address]
        • 09-8651933, 054-2383689
      • Technology Management Services :
        • Yossi Cohen
        • [email_address]
        • 09-8850956, 054-5313092

    + Yossi CohenYossi Cohen, 3 years ago

    custom

    4528 views, 2 favs, 0 embeds more stats

    How to develop facebook applications

    More info about this document

    CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

    Go to text version

    • Total Views 4528
      • 4528 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 2
    • Downloads 159
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Groups / Events