SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Intro to facebook Platform




               Presented by
          Mehedi Hasan Sumon
      E-mail: mehedi895@yahoo.com
What is Facebook Platform?
• The quot;Facebook Platformquot; is a set of application
  programming interfaces (APIs) and services
  provided by Facebook which makes this
  information available to Platform Applications
  and allows Facebook and third-party
  developers (quot;Developersquot;) to develop new
  features and applications that we hope will
  enhance your ability to interact with people in
  your life in new and interesting ways.
This is example of a facebook app
Points of integration
• When we create an application for the
  Facebook Platform, we can integrate it at
  several points in the framework.
  Display in the Application directory.
  Provide an About page.
  Display inside Facebook Canvas Pages.
  Display at Left Navigation Panel
  Display a Profile Page
  Access and post to News Feed.
Display in the Application directory




MySimplifieds app
 is in application
     directory
Provide an About page




                Abut Page of
                mySimplifieds
Display inside Facebook Canvas Pages




             Canvas Page of
             mySimplifieds
Display at Left Navigation Panel




Profile Box of
mySimplifieds
Display a Profile Page




      Profile Page of
      mySimplifieds
Invite friends




          Invite Page of
          mySimplifieds
Access and post to News Feed




          News Feed
           Example
Facebook web application model
Facebook web application model
• Facebook applications are not installed directly onto the
  Facebook server. Instead, they are placed on the
  developer’s server and then called by Facebook when the
  application URL is requested.

• To interact with applications, Facebook uses a callback
  metaphor. It will use a registered URL associated with the
  application.

• in Facebook. When the Facebook application URL is
  requested, Facebook redirects the request to the APP
  server. Then the APP will processes the request,
  communicates with Facebook.
Facebook platform elements
•   The Facebook API
•   FBML – Facebook Markup language
•   FQL – Facebook Query Language
•   Facebook JavaScript
Facebook API
• The Facebook API is a Web services programming
  interface       for     accessing      core     services
  (profile, friends, group, event, photo) and performing
  other        Facebook-centric     functionality     (log
  in, redirect, update view). The API is based on a REST-
  based architecture. Facebook officially supports client
  libraries for PHP and Java.

• Several unofficial client libraries have been developed
  for most every major Web programming
  language, including
  ASP.NET, ColdFusion, C++, Python, Ruby on
  Rails, VB.NET.
Facebook Markup Language
• Facebook Markup Language (FBML) is an
  HTML-like language used to display pages
  inside of the Facebook canvas. Here are three
  basic facts about FBML:
  FBML contains a subset of HTML elements.
  FBML provides qualified support for script and
   style elements.
     <p>Your name is: <fb:name uid=”665127078” useyou=”false”/></p>
Facebook Query Language
• Facebook Query Language (FQL) is a SQL-
  based interface into Facebook data. You can
  access many Facebook database tables,
  including user, friend, group, group_member,
  event, event_member, photo, album, and
  photo_ tag.

  $friends = $facebook->api_client->fql_query(“SELECT uid, name FROM
  user WHERE
  uid IN (SELECT uid2 FROM friend WHERE uid1=$user)”);
Facebook JavaScript
• FBML does not support the use of standard
  JavaScript using the script element. However,
  Facebook JavaScript (or FBJS, for short) allows
  for limited scripting functionality inside a
  Facebook application. But Facebook JavaScript
  does provide AJAX and Facebook dialog
  objects for developers to take advantage of.
Developer centers
            on Facebook.com
• facebook.com/developers is the “home base”
  for Facebook developers.
• developers.facebook.com is the official
  documentation center for Facebook Platform
  developers.
• wiki.developers.facebook.com is a user-based
  Facebook developer’s Wiki, providing
  documentation, FAQs, sample codes.
Developing your first Facebook
         application
Registering an Application
• Go to www.facebook.com/developers
Registering an Application
• Click the Set Up New Application button.
• Enter the name of your application in the space provided.
Registering an Application
• Click the Optional Fields link to display several more settings
Registering an Application
• Add an e-mail address that you want to use for technical
  support issues.
• In the Callback URL field, enter the base URL for your
  application.
• In the Canvas Page URL field, enter the subfolder name that
  you would like to request for your Facebook application.
• Select the Use FBML and Website option button
• In the Side Nav URL field, enter the canvas page URL of your
  application. E.g.: (http://apps.facebook.com/yourapp)
• Click the submit button, you will get the API Key and
  secrete, save them for next step.
API key and
  Secret
Creating a Simple Facebook App
• Download the client library files of your programming language from the
  My Applications page (facebook.com/developers/apps.php).
• Uncompress the downloaded file and copy the client library files via FTP to
  your Web server.
• In your text editor, create a new file and save it as appinclude.php.

              <?php
              require once ‘lib/facebook.php’;
              $appapikey = ‘*your_api_key+’;
              $appsecret = ‘*your_secret_key+’;
              $appcallbackurl = ‘*your_web_app_url+’;
              ?>



• On your Web server, create a new folder for your application.
Creating a Simple Facebook App
• In your text editor, create a new file and save it as index.php
             <h1> Sample Application</h1>
             <?php
             require once ‘appinclude.php’;

             echo “<p>Your User ID is: $user</p>”;
             echo “<p>Your name is: <fb:name uid=”$user”
             useyou=”false”/></p>”;

             echo “<p>You have several friends: </p>”;
             $friends = $facebook->api_client->friends_get();
             echo “<ul>”;
             foreach ($friends as $friend) {
             echo “<li><fb:name uid=”$friend” useyou=”false” /></li>”;
             }
             echo “</ul>”;
             ?>
Creating a Simple Facebook App
• Save the file and copy it to the application folder via
  FTP on your Web server.
• Enter the canvas page URL for your application in
  your browser. (http://apps.facebook.com/dummies.)

• That’s all ….
Thank You All

Email : mehedi895@yahoo.com
Blog : mehedi895.wordpress.com

Weitere ähnliche Inhalte

Was ist angesagt?

Facebook Connect Tutorial
Facebook Connect TutorialFacebook Connect Tutorial
Facebook Connect TutorialPrateek Dayal
 
Facebook api
Facebook api Facebook api
Facebook api snipermkd
 
Facebook on Rails
Facebook on RailsFacebook on Rails
Facebook on Railsmc77
 
APEX navigation concepts
APEX navigation conceptsAPEX navigation concepts
APEX navigation conceptsTobias Arnhold
 
Facebook Connect Presentation 08 10 2008
Facebook Connect Presentation 08 10 2008Facebook Connect Presentation 08 10 2008
Facebook Connect Presentation 08 10 2008Karl Bunyan
 
Top 100 wordpress plugins
Top 100 wordpress pluginsTop 100 wordpress plugins
Top 100 wordpress pluginsguz393
 
What's New on the Facebook Platform, April 2011
What's New on the Facebook Platform, April 2011What's New on the Facebook Platform, April 2011
What's New on the Facebook Platform, April 2011Iskandar Najmuddin
 
Alphageeks meetup - facebook api
Alphageeks meetup - facebook apiAlphageeks meetup - facebook api
Alphageeks meetup - facebook apiAlphageeks
 
Introduction to Facebook Javascript SDK (NEW)
Introduction to Facebook Javascript SDK (NEW)Introduction to Facebook Javascript SDK (NEW)
Introduction to Facebook Javascript SDK (NEW)Colin Su
 
Rapid Development With CakePHP
Rapid Development With CakePHPRapid Development With CakePHP
Rapid Development With CakePHPEdureka!
 
Facebook API in the Real World - Myles Noton - Miniclip
Facebook API in the Real World - Myles Noton - MiniclipFacebook API in the Real World - Myles Noton - Miniclip
Facebook API in the Real World - Myles Noton - MiniclipMyles Noton
 
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development  Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development Edureka!
 
Alt tab - better apex tabs
Alt tab - better apex tabsAlt tab - better apex tabs
Alt tab - better apex tabsEnkitec
 
IBM Connections mail with exchange backend
IBM Connections mail with exchange backendIBM Connections mail with exchange backend
IBM Connections mail with exchange backendmichele buccarello
 
Introduction to facebook javascript sdk
Introduction to facebook javascript sdk Introduction to facebook javascript sdk
Introduction to facebook javascript sdk Yi-Fan Chu
 
Responsive WEB APP using cakePHP
Responsive WEB APP using cakePHPResponsive WEB APP using cakePHP
Responsive WEB APP using cakePHPEdureka!
 

Was ist angesagt? (19)

Facebook Connect Tutorial
Facebook Connect TutorialFacebook Connect Tutorial
Facebook Connect Tutorial
 
Facebook api
Facebook api Facebook api
Facebook api
 
Facebook on Rails
Facebook on RailsFacebook on Rails
Facebook on Rails
 
APEX navigation concepts
APEX navigation conceptsAPEX navigation concepts
APEX navigation concepts
 
Facebook Apps
Facebook AppsFacebook Apps
Facebook Apps
 
Facebook Connect Presentation 08 10 2008
Facebook Connect Presentation 08 10 2008Facebook Connect Presentation 08 10 2008
Facebook Connect Presentation 08 10 2008
 
Top 100 wordpress plugins
Top 100 wordpress pluginsTop 100 wordpress plugins
Top 100 wordpress plugins
 
What's New on the Facebook Platform, April 2011
What's New on the Facebook Platform, April 2011What's New on the Facebook Platform, April 2011
What's New on the Facebook Platform, April 2011
 
Alphageeks meetup - facebook api
Alphageeks meetup - facebook apiAlphageeks meetup - facebook api
Alphageeks meetup - facebook api
 
Introduction to Facebook Javascript SDK (NEW)
Introduction to Facebook Javascript SDK (NEW)Introduction to Facebook Javascript SDK (NEW)
Introduction to Facebook Javascript SDK (NEW)
 
Rapid Development With CakePHP
Rapid Development With CakePHPRapid Development With CakePHP
Rapid Development With CakePHP
 
Facebook API for iOS
Facebook API for iOSFacebook API for iOS
Facebook API for iOS
 
Facebook API in the Real World - Myles Noton - Miniclip
Facebook API in the Real World - Myles Noton - MiniclipFacebook API in the Real World - Myles Noton - Miniclip
Facebook API in the Real World - Myles Noton - Miniclip
 
Creating a Facebook App
Creating a Facebook AppCreating a Facebook App
Creating a Facebook App
 
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development  Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
 
Alt tab - better apex tabs
Alt tab - better apex tabsAlt tab - better apex tabs
Alt tab - better apex tabs
 
IBM Connections mail with exchange backend
IBM Connections mail with exchange backendIBM Connections mail with exchange backend
IBM Connections mail with exchange backend
 
Introduction to facebook javascript sdk
Introduction to facebook javascript sdk Introduction to facebook javascript sdk
Introduction to facebook javascript sdk
 
Responsive WEB APP using cakePHP
Responsive WEB APP using cakePHPResponsive WEB APP using cakePHP
Responsive WEB APP using cakePHP
 

Andere mochten auch

Facebook intro course
Facebook intro courseFacebook intro course
Facebook intro coursemeganmacleod
 
Facebook Presentation for Skillnets
Facebook Presentation for SkillnetsFacebook Presentation for Skillnets
Facebook Presentation for SkillnetsEmagine Media
 
Présentation facebook 26 octobre au centsept de maryse charde
Présentation facebook 26 octobre au centsept de maryse chardePrésentation facebook 26 octobre au centsept de maryse charde
Présentation facebook 26 octobre au centsept de maryse chardeNeocamino
 
Intro to Facebook Commerce (F-Commerce or Social Shopping)
Intro to Facebook Commerce (F-Commerce or Social Shopping)Intro to Facebook Commerce (F-Commerce or Social Shopping)
Intro to Facebook Commerce (F-Commerce or Social Shopping)Kiki 'Khadija' Rizki
 
Facebook for Business
Facebook for BusinessFacebook for Business
Facebook for BusinessTanya Salcido
 
Intro/Facebook- Safwan Halabi - RSNA 2014 Hands on Introduction to Social Media
Intro/Facebook- Safwan Halabi - RSNA 2014 Hands on Introduction to Social MediaIntro/Facebook- Safwan Halabi - RSNA 2014 Hands on Introduction to Social Media
Intro/Facebook- Safwan Halabi - RSNA 2014 Hands on Introduction to Social MediaNeil Lall
 
LLiSA facebook presentation
LLiSA  facebook presentationLLiSA  facebook presentation
LLiSA facebook presentationrlabsza
 
Introduction to facebook
Introduction to facebookIntroduction to facebook
Introduction to facebookPaul Forcey
 
Intro to Facebook Pages
Intro to Facebook PagesIntro to Facebook Pages
Intro to Facebook PagesChris Snider
 
Polariteiten - van Monoloog naar Dialoog
Polariteiten - van Monoloog naar DialoogPolariteiten - van Monoloog naar Dialoog
Polariteiten - van Monoloog naar DialoogMindConsult
 
Reaching & interacting with your facebook audience
Reaching & interacting with your facebook audienceReaching & interacting with your facebook audience
Reaching & interacting with your facebook audienceSonja Fuchs
 
Food security in india
Food security in indiaFood security in india
Food security in indianikhilmodi3
 
Facebook Presentation
Facebook PresentationFacebook Presentation
Facebook PresentationSami Postma
 
Facebook Presentation
Facebook PresentationFacebook Presentation
Facebook Presentationahazley
 
PPT Presentation on Facebook.com
PPT Presentation on Facebook.comPPT Presentation on Facebook.com
PPT Presentation on Facebook.comKrishan Majumder
 
Facebook Powerpoint
Facebook PowerpointFacebook Powerpoint
Facebook Powerpointmyra14
 

Andere mochten auch (20)

Facebook intro course
Facebook intro courseFacebook intro course
Facebook intro course
 
Facebook Presentation for Skillnets
Facebook Presentation for SkillnetsFacebook Presentation for Skillnets
Facebook Presentation for Skillnets
 
Social Design on Facebook
Social Design on FacebookSocial Design on Facebook
Social Design on Facebook
 
Facebook
FacebookFacebook
Facebook
 
Présentation facebook 26 octobre au centsept de maryse charde
Présentation facebook 26 octobre au centsept de maryse chardePrésentation facebook 26 octobre au centsept de maryse charde
Présentation facebook 26 octobre au centsept de maryse charde
 
Intro to Facebook Commerce (F-Commerce or Social Shopping)
Intro to Facebook Commerce (F-Commerce or Social Shopping)Intro to Facebook Commerce (F-Commerce or Social Shopping)
Intro to Facebook Commerce (F-Commerce or Social Shopping)
 
An Introduction to Facebook
An Introduction to FacebookAn Introduction to Facebook
An Introduction to Facebook
 
Facebook for Business
Facebook for BusinessFacebook for Business
Facebook for Business
 
Intro/Facebook- Safwan Halabi - RSNA 2014 Hands on Introduction to Social Media
Intro/Facebook- Safwan Halabi - RSNA 2014 Hands on Introduction to Social MediaIntro/Facebook- Safwan Halabi - RSNA 2014 Hands on Introduction to Social Media
Intro/Facebook- Safwan Halabi - RSNA 2014 Hands on Introduction to Social Media
 
LLiSA facebook presentation
LLiSA  facebook presentationLLiSA  facebook presentation
LLiSA facebook presentation
 
Introduction to facebook
Introduction to facebookIntroduction to facebook
Introduction to facebook
 
Intro to Facebook Pages
Intro to Facebook PagesIntro to Facebook Pages
Intro to Facebook Pages
 
Polariteiten - van Monoloog naar Dialoog
Polariteiten - van Monoloog naar DialoogPolariteiten - van Monoloog naar Dialoog
Polariteiten - van Monoloog naar Dialoog
 
Reaching & interacting with your facebook audience
Reaching & interacting with your facebook audienceReaching & interacting with your facebook audience
Reaching & interacting with your facebook audience
 
Food security in india
Food security in indiaFood security in india
Food security in india
 
Facebook Presentation
Facebook PresentationFacebook Presentation
Facebook Presentation
 
Facebook Presentation
Facebook PresentationFacebook Presentation
Facebook Presentation
 
PPT Presentation on Facebook.com
PPT Presentation on Facebook.comPPT Presentation on Facebook.com
PPT Presentation on Facebook.com
 
Build. Better. Content!
Build. Better. Content!Build. Better. Content!
Build. Better. Content!
 
Facebook Powerpoint
Facebook PowerpointFacebook Powerpoint
Facebook Powerpoint
 

Ähnlich wie Facebook Developer Garage Cyberjaya

Developing Facebook Application
Developing Facebook ApplicationDeveloping Facebook Application
Developing Facebook ApplicationSandeep Varma
 
Facebook 3rd Party Api
Facebook 3rd Party ApiFacebook 3rd Party Api
Facebook 3rd Party ApiYoss Cohen
 
Introduction to Facebook Application development
Introduction to Facebook Application developmentIntroduction to Facebook Application development
Introduction to Facebook Application developmentVasanth Kumar
 
Charlie Cheever Facebook Developer Garage Uganda
Charlie Cheever Facebook Developer Garage UgandaCharlie Cheever Facebook Developer Garage Uganda
Charlie Cheever Facebook Developer Garage UgandaLeila Janah
 
funP 麻吉 開發者俱樂部十月份聚會
funP 麻吉 開發者俱樂部十月份聚會funP 麻吉 開發者俱樂部十月份聚會
funP 麻吉 開發者俱樂部十月份聚會Nathan Chiu
 
Facebook Open Graph Tech Requirements
Facebook Open Graph Tech RequirementsFacebook Open Graph Tech Requirements
Facebook Open Graph Tech RequirementsAffinitive
 
Shiny Agency's Facebook Development Guidelines
Shiny Agency's Facebook Development GuidelinesShiny Agency's Facebook Development Guidelines
Shiny Agency's Facebook Development GuidelinesRoy Pereira
 
funP 開發者俱樂部 十月份聚會
funP 開發者俱樂部 十月份聚會funP 開發者俱樂部 十月份聚會
funP 開發者俱樂部 十月份聚會tutchiio
 
Peepcode facebook-2-rails on facebook
Peepcode facebook-2-rails on facebookPeepcode facebook-2-rails on facebook
Peepcode facebook-2-rails on facebooksushilprajapati
 
Developing a Facebook App
Developing a Facebook AppDeveloping a Facebook App
Developing a Facebook Appkapilgoenka
 
Facebook Connect Integration
Facebook Connect IntegrationFacebook Connect Integration
Facebook Connect Integrationmujahidslideshare
 
Introduction to facebook platform
Introduction to facebook platformIntroduction to facebook platform
Introduction to facebook platformVenkatesh Narayanan
 
What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011Iskandar Najmuddin
 

Ähnlich wie Facebook Developer Garage Cyberjaya (20)

Facebook app
Facebook appFacebook app
Facebook app
 
Developing Facebook Application
Developing Facebook ApplicationDeveloping Facebook Application
Developing Facebook Application
 
Facebook Coin
Facebook CoinFacebook Coin
Facebook Coin
 
Facebook 3rd Party Api
Facebook 3rd Party ApiFacebook 3rd Party Api
Facebook 3rd Party Api
 
Introduction to Facebook Application development
Introduction to Facebook Application developmentIntroduction to Facebook Application development
Introduction to Facebook Application development
 
Charlie Cheever Facebook Developer Garage Uganda
Charlie Cheever Facebook Developer Garage UgandaCharlie Cheever Facebook Developer Garage Uganda
Charlie Cheever Facebook Developer Garage Uganda
 
funP 麻吉 開發者俱樂部十月份聚會
funP 麻吉 開發者俱樂部十月份聚會funP 麻吉 開發者俱樂部十月份聚會
funP 麻吉 開發者俱樂部十月份聚會
 
Facebook Open Graph Tech Requirements
Facebook Open Graph Tech RequirementsFacebook Open Graph Tech Requirements
Facebook Open Graph Tech Requirements
 
Shiny Agency's Facebook Development Guidelines
Shiny Agency's Facebook Development GuidelinesShiny Agency's Facebook Development Guidelines
Shiny Agency's Facebook Development Guidelines
 
funP 開發者俱樂部 十月份聚會
funP 開發者俱樂部 十月份聚會funP 開發者俱樂部 十月份聚會
funP 開發者俱樂部 十月份聚會
 
Peepcode facebook-2-rails on facebook
Peepcode facebook-2-rails on facebookPeepcode facebook-2-rails on facebook
Peepcode facebook-2-rails on facebook
 
Developing a Facebook App
Developing a Facebook AppDeveloping a Facebook App
Developing a Facebook App
 
Facebook Connect Integration
Facebook Connect IntegrationFacebook Connect Integration
Facebook Connect Integration
 
Facebook Apps
Facebook AppsFacebook Apps
Facebook Apps
 
Facebook apps
Facebook appsFacebook apps
Facebook apps
 
Introduction to facebook platform
Introduction to facebook platformIntroduction to facebook platform
Introduction to facebook platform
 
Facebook Connect
Facebook ConnectFacebook Connect
Facebook Connect
 
What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011
 
Facebook Coin
Facebook CoinFacebook Coin
Facebook Coin
 
Facebook_Coin
Facebook_CoinFacebook_Coin
Facebook_Coin
 

Kürzlich hochgeladen

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 

Kürzlich hochgeladen (20)

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 

Facebook Developer Garage Cyberjaya

  • 1. Intro to facebook Platform Presented by Mehedi Hasan Sumon E-mail: mehedi895@yahoo.com
  • 2. What is Facebook Platform? • The quot;Facebook Platformquot; is a set of application programming interfaces (APIs) and services provided by Facebook which makes this information available to Platform Applications and allows Facebook and third-party developers (quot;Developersquot;) to develop new features and applications that we hope will enhance your ability to interact with people in your life in new and interesting ways.
  • 3. This is example of a facebook app
  • 4. Points of integration • When we create an application for the Facebook Platform, we can integrate it at several points in the framework. Display in the Application directory. Provide an About page. Display inside Facebook Canvas Pages. Display at Left Navigation Panel Display a Profile Page Access and post to News Feed.
  • 5. Display in the Application directory MySimplifieds app is in application directory
  • 6. Provide an About page Abut Page of mySimplifieds
  • 7. Display inside Facebook Canvas Pages Canvas Page of mySimplifieds
  • 8. Display at Left Navigation Panel Profile Box of mySimplifieds
  • 9. Display a Profile Page Profile Page of mySimplifieds
  • 10. Invite friends Invite Page of mySimplifieds
  • 11. Access and post to News Feed News Feed Example
  • 13. Facebook web application model • Facebook applications are not installed directly onto the Facebook server. Instead, they are placed on the developer’s server and then called by Facebook when the application URL is requested. • To interact with applications, Facebook uses a callback metaphor. It will use a registered URL associated with the application. • in Facebook. When the Facebook application URL is requested, Facebook redirects the request to the APP server. Then the APP will processes the request, communicates with Facebook.
  • 14. Facebook platform elements • The Facebook API • FBML – Facebook Markup language • FQL – Facebook Query Language • Facebook JavaScript
  • 15. Facebook API • The Facebook API is a Web services programming interface for accessing core services (profile, friends, group, event, photo) and performing other Facebook-centric functionality (log in, redirect, update view). The API is based on a REST- based architecture. Facebook officially supports client libraries for PHP and Java. • Several unofficial client libraries have been developed for most every major Web programming language, including ASP.NET, ColdFusion, C++, Python, Ruby on Rails, VB.NET.
  • 16. Facebook Markup Language • Facebook Markup Language (FBML) is an HTML-like language used to display pages inside of the Facebook canvas. Here are three basic facts about FBML: FBML contains a subset of HTML elements. FBML provides qualified support for script and style elements. <p>Your name is: <fb:name uid=”665127078” useyou=”false”/></p>
  • 17. Facebook Query Language • Facebook Query Language (FQL) is a SQL- based interface into Facebook data. You can access many Facebook database tables, including user, friend, group, group_member, event, event_member, photo, album, and photo_ tag. $friends = $facebook->api_client->fql_query(“SELECT uid, name FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=$user)”);
  • 18. Facebook JavaScript • FBML does not support the use of standard JavaScript using the script element. However, Facebook JavaScript (or FBJS, for short) allows for limited scripting functionality inside a Facebook application. But Facebook JavaScript does provide AJAX and Facebook dialog objects for developers to take advantage of.
  • 19. Developer centers on Facebook.com • facebook.com/developers is the “home base” for Facebook developers. • developers.facebook.com is the official documentation center for Facebook Platform developers. • wiki.developers.facebook.com is a user-based Facebook developer’s Wiki, providing documentation, FAQs, sample codes.
  • 20. Developing your first Facebook application
  • 21. Registering an Application • Go to www.facebook.com/developers
  • 22. Registering an Application • Click the Set Up New Application button. • Enter the name of your application in the space provided.
  • 23. Registering an Application • Click the Optional Fields link to display several more settings
  • 24. Registering an Application • Add an e-mail address that you want to use for technical support issues. • In the Callback URL field, enter the base URL for your application. • In the Canvas Page URL field, enter the subfolder name that you would like to request for your Facebook application. • Select the Use FBML and Website option button • In the Side Nav URL field, enter the canvas page URL of your application. E.g.: (http://apps.facebook.com/yourapp) • Click the submit button, you will get the API Key and secrete, save them for next step.
  • 25. API key and Secret
  • 26. Creating a Simple Facebook App • Download the client library files of your programming language from the My Applications page (facebook.com/developers/apps.php). • Uncompress the downloaded file and copy the client library files via FTP to your Web server. • In your text editor, create a new file and save it as appinclude.php. <?php require once ‘lib/facebook.php’; $appapikey = ‘*your_api_key+’; $appsecret = ‘*your_secret_key+’; $appcallbackurl = ‘*your_web_app_url+’; ?> • On your Web server, create a new folder for your application.
  • 27. Creating a Simple Facebook App • In your text editor, create a new file and save it as index.php <h1> Sample Application</h1> <?php require once ‘appinclude.php’; echo “<p>Your User ID is: $user</p>”; echo “<p>Your name is: <fb:name uid=”$user” useyou=”false”/></p>”; echo “<p>You have several friends: </p>”; $friends = $facebook->api_client->friends_get(); echo “<ul>”; foreach ($friends as $friend) { echo “<li><fb:name uid=”$friend” useyou=”false” /></li>”; } echo “</ul>”; ?>
  • 28. Creating a Simple Facebook App • Save the file and copy it to the application folder via FTP on your Web server. • Enter the canvas page URL for your application in your browser. (http://apps.facebook.com/dummies.) • That’s all ….
  • 29. Thank You All Email : mehedi895@yahoo.com Blog : mehedi895.wordpress.com