{"id":6082,"date":"2021-05-04T12:24:49","date_gmt":"2021-05-04T12:24:49","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=6082"},"modified":"2022-04-13T16:33:33","modified_gmt":"2022-04-13T16:33:33","slug":"how-to-add-facebook-comment-in-html-page","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/","title":{"rendered":"How to Add Facebook Comment in HTML page"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\" id=\"2366\">In this tutorial I\u2019m going to describe how to add facebook comment in html page, please follow some easy steps its helpful for you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"e6e9\">1st step go to Facebook for Developers&nbsp;<a href=\"https:\/\/developers.facebook.com\/docs\/plugins\/comments\">Facebook comment<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/1317\/1*Qn0XpGm3H8ipM4dolWV2QQ.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"96b9\">2 nd step: Paste your website URL which website you want to show facebook comment.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/1152\/1*CeCnFeVJzyfqGmpdaIRSvQ.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"cef7\">Next you\u2019ll get Code 1st code put in after body tag and 2nd put in where you want to show Facebook comment section in your page.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/1173\/1*pd9pVOf_Hh1J30Wcoxe7AA.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"58fb\">Go to you page and Copy below code and paste below the body tag.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;div id=\"fb-root\"&gt;&lt;\/div&gt;<br> &lt;script async defer crossorigin=\"anonymous\" src=\"<a href=\"https:\/\/connect.facebook.net\/en_GB\/sdk.js#xfbml=1&amp;version=v10.0&amp;appId=427021281892903&amp;autoLogAppEvents=1\">https:\/\/connect.facebook.net\/en_GB\/sdk.js#xfbml=1&amp;version=v10.0&amp;appId=427021281892903&amp;autoLogAppEvents=1<\/a>\" nonce=\"IFt1dfew\"&gt;&lt;\/script&gt;<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/1366\/1*5OUvZOEjcxPr5Lin5EC_3w.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"5ddf\">Next step Copy below code and simply paste there where you want to show Facebook comment in your html page.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;!-- fb comment show here  --&gt;<br>&lt;div class=\"fb-comments\" data-href=\"http:\/\/www.surgeryplanet.com\/\" data-width=\"100%\" data-numposts=\"10\"&gt;&lt;\/div&gt;<br>&lt;!-- fb comment show end  --&gt;<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/1366\/1*U2ykCdniZqWS_K-rwgA2cg.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"1593\">Next in your page facebook comment is working as like this-&gt;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/5416\/1*dcXrUUUXcnXLKI5OrMz8NA.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"8592\">Thanks \ud83d\ude4f\ud83d\ude4f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial I\u2019m going to describe how to add facebook comment in html page, please follow some easy steps [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[156],"tags":[4235,5276,4459,356,894],"class_list":["post-6082","post","type-post","status-publish","format-standard","hentry","category-websites","tag-comment","tag-facebook","tag-html","tag-plugin","tag-website"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Add Facebook Comment in HTML page - scmGalaxy<\/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:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Facebook Comment in HTML page - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"In this tutorial I\u2019m going to describe how to add facebook comment in html page, please follow some easy steps [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-04T12:24:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-13T16:33:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/miro.medium.com\/max\/1317\/1*Qn0XpGm3H8ipM4dolWV2QQ.png\" \/>\n<meta name=\"author\" content=\"rajeshkumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rajeshkumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/\"},\"author\":{\"name\":\"rajeshkumar\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"headline\":\"How to Add Facebook Comment in HTML page\",\"datePublished\":\"2021-05-04T12:24:49+00:00\",\"dateModified\":\"2022-04-13T16:33:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/\"},\"wordCount\":131,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/miro.medium.com\\\/max\\\/1317\\\/1*Qn0XpGm3H8ipM4dolWV2QQ.png\",\"keywords\":[\"Comment\",\"facebook\",\"HTML\",\"Plugin\",\"Website\"],\"articleSection\":[\"Websites\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/\",\"name\":\"How to Add Facebook Comment in HTML page - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/miro.medium.com\\\/max\\\/1317\\\/1*Qn0XpGm3H8ipM4dolWV2QQ.png\",\"datePublished\":\"2021-05-04T12:24:49+00:00\",\"dateModified\":\"2022-04-13T16:33:33+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/#primaryimage\",\"url\":\"https:\\\/\\\/miro.medium.com\\\/max\\\/1317\\\/1*Qn0XpGm3H8ipM4dolWV2QQ.png\",\"contentUrl\":\"https:\\\/\\\/miro.medium.com\\\/max\\\/1317\\\/1*Qn0XpGm3H8ipM4dolWV2QQ.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-add-facebook-comment-in-html-page\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add Facebook Comment in HTML page\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\",\"name\":\"rajeshkumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"caption\":\"rajeshkumar\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/rajeshkumar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add Facebook Comment in HTML page - scmGalaxy","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:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Facebook Comment in HTML page - scmGalaxy","og_description":"In this tutorial I\u2019m going to describe how to add facebook comment in html page, please follow some easy steps [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/","og_site_name":"scmGalaxy","article_published_time":"2021-05-04T12:24:49+00:00","article_modified_time":"2022-04-13T16:33:33+00:00","og_image":[{"url":"https:\/\/miro.medium.com\/max\/1317\/1*Qn0XpGm3H8ipM4dolWV2QQ.png","type":"","width":"","height":""}],"author":"rajeshkumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rajeshkumar","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/"},"author":{"name":"rajeshkumar","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"headline":"How to Add Facebook Comment in HTML page","datePublished":"2021-05-04T12:24:49+00:00","dateModified":"2022-04-13T16:33:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/"},"wordCount":131,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/#primaryimage"},"thumbnailUrl":"https:\/\/miro.medium.com\/max\/1317\/1*Qn0XpGm3H8ipM4dolWV2QQ.png","keywords":["Comment","facebook","HTML","Plugin","Website"],"articleSection":["Websites"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/","name":"How to Add Facebook Comment in HTML page - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/#primaryimage"},"thumbnailUrl":"https:\/\/miro.medium.com\/max\/1317\/1*Qn0XpGm3H8ipM4dolWV2QQ.png","datePublished":"2021-05-04T12:24:49+00:00","dateModified":"2022-04-13T16:33:33+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/#primaryimage","url":"https:\/\/miro.medium.com\/max\/1317\/1*Qn0XpGm3H8ipM4dolWV2QQ.png","contentUrl":"https:\/\/miro.medium.com\/max\/1317\/1*Qn0XpGm3H8ipM4dolWV2QQ.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-add-facebook-comment-in-html-page\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Add Facebook Comment in HTML page"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361","name":"rajeshkumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","caption":"rajeshkumar"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/rajeshkumar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=6082"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6082\/revisions"}],"predecessor-version":[{"id":6083,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6082\/revisions\/6083"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=6082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=6082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=6082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}