{"id":25651,"date":"2022-07-20T18:37:28","date_gmt":"2022-07-20T18:37:28","guid":{"rendered":"https:\/\/zeru.com\/blog\/?p=25651"},"modified":"2022-07-20T18:37:28","modified_gmt":"2022-07-20T18:37:28","slug":"is-facebook-a-web-application","status":"publish","type":"post","link":"https:\/\/zeru.com\/blog\/is-facebook-a-web-application","title":{"rendered":"Is Facebook a Web Application?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_43 counter-flat ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<p class=\"ez-toc-title\">Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ed5ee2700ad\" class=\"cssicon\"><span style=\"display: flex;align-items: center;width: 35px;height: 30px;justify-content: center;direction:ltr;\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/label><label for=\"ez-toc-cssicon-toggle-item-69ed5ee2700ad\"  class=\"cssiconcheckbox\">1<\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ed5ee2700ad\" ><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/zeru.com\/blog\/is-facebook-a-web-application\/#Is_Facebook_a_Web_Application\" title=\"Is Facebook a Web Application?\">Is Facebook a Web Application?<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/zeru.com\/blog\/is-facebook-a-web-application\/#Facebook_uses_PHP_MySQL_and_custom-written_systems\" title=\"Facebook uses PHP, MySQL, and custom-written systems\">Facebook uses PHP, MySQL, and custom-written systems<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/zeru.com\/blog\/is-facebook-a-web-application\/#It_uses_iframes_to_allow_third-party_developers_to_create_applications\" title=\"It uses iframes to allow third-party developers to create applications\">It uses iframes to allow third-party developers to create applications<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/zeru.com\/blog\/is-facebook-a-web-application\/#It_uses_JavaScript_Ajax_and_long_polling_to_render_graphics\" title=\"It uses JavaScript, Ajax, and long polling to render graphics\">It uses JavaScript, Ajax, and long polling to render graphics<\/a><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Is_Facebook_a_Web_Application\"><\/span>Is Facebook a Web Application?<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p> <img decoding=\"async\" alt=\"Is Facebook a web application\" src=\"https:\/\/i.imgur.com\/ygbnSrL.png\" style=\"height:auto; max-height:386px; max-width:34% margin:0px 10px; width:auto;\" align=\"right\"> <\/p>\n<p>What are the key technologies behind Facebook&#8217;s success? The social networking service was developed using open source software, including the PHP programming language and MySQL database infrastructure. Facebook apps integrate Facebook&#8217;s core technologies to promote their use and generate interest in them. In contrast, web applications are developed using commonly used software such as Microsoft Word and Excel, as well as common web browsers. As a result, Facebook apps are typically written in PHP and use the MySQL database infrastructure to store and process data.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Facebook_uses_PHP_MySQL_and_custom-written_systems\"><\/span>Facebook uses PHP, MySQL, and custom-written systems<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>While Facebook relies on several languages, PHP and MySQL are two of the most commonly used in its system. The PHP programming language is a widely supported interpreted scripting language with a large developer community. Facebook has also built its own compiler for PHP, and is a major user of Linux for the back end of its system. PHP also supports Memcache, an open source caching system that Facebook uses as its primary form of cache.<\/p>\n<p>Besides PHP and MySQL, Facebook also uses many open-source projects and tools. Among them is Tornado, which was developed by the same team that built FriendFeed, a social media news site. Since Facebook acquired FriendFeed in August 2009, the social network has grown exponentially. It now has over two billion active users, and has a dedicated growth team. To further improve the stability of its systems, Facebook has standardized on several open-source projects, and aims to incorporate them into its own systems.<\/p>\n<p>Facebook has a variety of custom-written systems and languages. For example, Facebook uses Java and Erlang for its chat system. It also uses C++ in some places. The company has built a cross-language framework, called Thrift, to make development easier and maintainable. It also uses HTTP accelerators like Varnish, which are optimized for dynamic, content-heavy websites. Varnish serves photos and profile pictures on Facebook by caching them, and also supports website requests.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"It_uses_iframes_to_allow_third-party_developers_to_create_applications\"><\/span>It uses iframes to allow third-party developers to create applications<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First, you&#8217;ll need to create an iframe application. This is simple, and requires creating a new account in Facebook&#8217;s Developers website. Once you&#8217;ve created your account, go to the top navigation bar and click Apps. From there, you can click Create New App and follow the steps. You&#8217;ll see a basic settings page, which you should fill out with your email address. You&#8217;ll also need to fill out the application ID and secret ID.<\/p>\n<p>Iframes are used for many different applications, including Google Calendars and Maps. If you&#8217;d like to pull a Google map of your business&#8217; location into a web page, you can use iframe code. The iframe application on Facebook allows you to pull any web page into a custom Facebook page. Creating an iframe application requires HTML knowledge and some experience uploading web pages.<\/p>\n<p>When creating an iframe, you&#8217;ll specify the width and height of the iframe as well as the app ID. You&#8217;ll also need to enable allow=&#8221;geolocation,&#8221; &#8220;microphone,&#8221; and &#8220;camera&#8221; if you&#8217;re using Google Chrome. However, if you&#8217;re using Azure Active Directory authentication, you&#8217;ll not have to do any additional sign-in to access the iframe. Once the user signs-in, they can run the app. If the author has shared the iframe on his or her page, you&#8217;ll be able to integrate it to your site.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"It_uses_JavaScript_Ajax_and_long_polling_to_render_graphics\"><\/span>It uses JavaScript, Ajax, and long polling to render graphics<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Asynchronous JavaScript And XML is the primary technology used by Facebook to render graphics. The application sends JavaScript code in response to asynchronous requests. Facebook chat presents an interesting problem for this technology, since it cannot push new messages to the client. It must poll the server periodically to receive new messages. The chat interface is also a good candidate for long polling.<\/p>\n<p> <iframe width=\"478\" frameborder=\"0\" src=\"https:\/\/www.youtube.com\/embed\/nyZXPWpzgpQ\" allowfullscreen=\"true\" height=\"267\" style=\"margin:0px auto; display: block;\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Is Facebook a Web Application? What are the key technologies behind Facebook&#8217;s success? The social networking service was developed using open source software, including the PHP programming language and MySQL database infrastructure. Facebook apps integrate Facebook&#8217;s core technologies to promote their use and generate interest in them. In contrast, web applications are developed using commonly [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":26436,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.7 (Yoast SEO v21.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Is Facebook a Web Application? - Zeru<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zeru.com\/blog\/is-facebook-a-web-application\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Is Facebook a Web Application?\" \/>\n<meta property=\"og:description\" content=\"Is Facebook a Web Application? What are the key technologies behind Facebook&#8217;s success? The social networking service was developed using open source software, including the PHP programming language and MySQL database infrastructure. Facebook apps integrate Facebook&#8217;s core technologies to promote their use and generate interest in them. In contrast, web applications are developed using commonly [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zeru.com\/blog\/is-facebook-a-web-application\" \/>\n<meta property=\"og:site_name\" content=\"Zeru\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-20T18:37:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/zeru.com\/blog\/wp-content\/uploads\/Is-Facebook-a-Web-Application_25651.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Lizzie Yates\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lizzie Yates\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zeru.com\/blog\/is-facebook-a-web-application\",\"url\":\"https:\/\/zeru.com\/blog\/is-facebook-a-web-application\",\"name\":\"Is Facebook a Web Application? - Zeru\",\"isPartOf\":{\"@id\":\"https:\/\/zeru.com\/blog\/#website\"},\"datePublished\":\"2022-07-20T18:37:28+00:00\",\"dateModified\":\"2022-07-20T18:37:28+00:00\",\"author\":{\"@id\":\"https:\/\/zeru.com\/blog\/#\/schema\/person\/61005d9ec00b94bc50fbaf11b78aa55e\"},\"breadcrumb\":{\"@id\":\"https:\/\/zeru.com\/blog\/is-facebook-a-web-application#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zeru.com\/blog\/is-facebook-a-web-application\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zeru.com\/blog\/is-facebook-a-web-application#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zeru.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Is Facebook a Web Application?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zeru.com\/blog\/#website\",\"url\":\"https:\/\/zeru.com\/blog\/\",\"name\":\"Zeru\",\"description\":\"Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zeru.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zeru.com\/blog\/#\/schema\/person\/61005d9ec00b94bc50fbaf11b78aa55e\",\"name\":\"Lizzie Yates\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zeru.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/zeru.com\/blog\/wp-content\/uploads\/19-150x150.jpg\",\"contentUrl\":\"https:\/\/zeru.com\/blog\/wp-content\/uploads\/19-150x150.jpg\",\"caption\":\"Lizzie Yates\"},\"description\":\"A content marketing strategist with the Zeru team for a little over 5 years, Lizzie Yates specializes in everything digital media with a particular focus on social media and technology. Her passion? To follow how the social media sites like Instagram, YouTube, Facebook, Twitter, and TikTok are maturing over time, and what businesses can do to keep up. She shares her insights on our blog in a true outpouring of knowledge and expertise. Her knowledge about technology and social media is vast, and she is always willing to share her insights with businesses to help them stay up-to-date with the latest trends.\",\"url\":\"https:\/\/zeru.com\/blog\/author\/writer\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Is Facebook a Web Application? - Zeru","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zeru.com\/blog\/is-facebook-a-web-application","og_locale":"en_US","og_type":"article","og_title":"Is Facebook a Web Application?","og_description":"Is Facebook a Web Application? What are the key technologies behind Facebook&#8217;s success? The social networking service was developed using open source software, including the PHP programming language and MySQL database infrastructure. Facebook apps integrate Facebook&#8217;s core technologies to promote their use and generate interest in them. In contrast, web applications are developed using commonly [&hellip;]","og_url":"https:\/\/zeru.com\/blog\/is-facebook-a-web-application","og_site_name":"Zeru","article_published_time":"2022-07-20T18:37:28+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/zeru.com\/blog\/wp-content\/uploads\/Is-Facebook-a-Web-Application_25651.jpg","type":"image\/jpeg"}],"author":"Lizzie Yates","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Lizzie Yates","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zeru.com\/blog\/is-facebook-a-web-application","url":"https:\/\/zeru.com\/blog\/is-facebook-a-web-application","name":"Is Facebook a Web Application? - Zeru","isPartOf":{"@id":"https:\/\/zeru.com\/blog\/#website"},"datePublished":"2022-07-20T18:37:28+00:00","dateModified":"2022-07-20T18:37:28+00:00","author":{"@id":"https:\/\/zeru.com\/blog\/#\/schema\/person\/61005d9ec00b94bc50fbaf11b78aa55e"},"breadcrumb":{"@id":"https:\/\/zeru.com\/blog\/is-facebook-a-web-application#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zeru.com\/blog\/is-facebook-a-web-application"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zeru.com\/blog\/is-facebook-a-web-application#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zeru.com\/blog"},{"@type":"ListItem","position":2,"name":"Is Facebook a Web Application?"}]},{"@type":"WebSite","@id":"https:\/\/zeru.com\/blog\/#website","url":"https:\/\/zeru.com\/blog\/","name":"Zeru","description":"Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zeru.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zeru.com\/blog\/#\/schema\/person\/61005d9ec00b94bc50fbaf11b78aa55e","name":"Lizzie Yates","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zeru.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/zeru.com\/blog\/wp-content\/uploads\/19-150x150.jpg","contentUrl":"https:\/\/zeru.com\/blog\/wp-content\/uploads\/19-150x150.jpg","caption":"Lizzie Yates"},"description":"A content marketing strategist with the Zeru team for a little over 5 years, Lizzie Yates specializes in everything digital media with a particular focus on social media and technology. Her passion? To follow how the social media sites like Instagram, YouTube, Facebook, Twitter, and TikTok are maturing over time, and what businesses can do to keep up. She shares her insights on our blog in a true outpouring of knowledge and expertise. Her knowledge about technology and social media is vast, and she is always willing to share her insights with businesses to help them stay up-to-date with the latest trends.","url":"https:\/\/zeru.com\/blog\/author\/writer"}]}},"_links":{"self":[{"href":"https:\/\/zeru.com\/blog\/wp-json\/wp\/v2\/posts\/25651"}],"collection":[{"href":"https:\/\/zeru.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zeru.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zeru.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zeru.com\/blog\/wp-json\/wp\/v2\/comments?post=25651"}],"version-history":[{"count":1,"href":"https:\/\/zeru.com\/blog\/wp-json\/wp\/v2\/posts\/25651\/revisions"}],"predecessor-version":[{"id":25655,"href":"https:\/\/zeru.com\/blog\/wp-json\/wp\/v2\/posts\/25651\/revisions\/25655"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zeru.com\/blog\/wp-json\/wp\/v2\/media\/26436"}],"wp:attachment":[{"href":"https:\/\/zeru.com\/blog\/wp-json\/wp\/v2\/media?parent=25651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zeru.com\/blog\/wp-json\/wp\/v2\/categories?post=25651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zeru.com\/blog\/wp-json\/wp\/v2\/tags?post=25651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}