{"id":7695,"date":"2010-06-18T21:26:50","date_gmt":"2010-06-18T13:26:50","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=7695"},"modified":"2025-04-04T01:04:10","modified_gmt":"2025-04-03T17:04:10","slug":"how-to-display-facebook-fan-count-in-text","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/","title":{"rendered":"How to Display Facebook Fan Count in Text"},"content":{"rendered":"<p>Adding a Facebook <a href=\"https:\/\/developers.facebook.com\/docs\/plugins\/like-button\">Like Button<\/a> on your website or blog is perhaps one of the easiest and most effective way to get more fans and earn more <em>likes<\/em>. If you have hundreds, thousand or perhaps tens of thousand of fans, it might be a good idea to publish a <strong>fan count<\/strong>. <strong>Fan count displays in numeric text total fans your Facebook page has<\/strong>, or rather, how many have <em>liked<\/em> your page.<\/p>\n<p>The technique is simple and very similar to <a href=\"https:\/\/www.hongkiat.com\/blog\/display-google-feed-subscriber-count-in-text\/\">displaying Google feedcount in text<\/a>. The only difference is \u2013 we will be using <a href=\"https:\/\/developers.facebook.com\/\" rel=\"nofollow\">Facebook\u2019s API<\/a>. In this post, we want to show you how it can be done so you can add them into your <strong>WordPress<\/strong> blog or <strong>PHP<\/strong> powered website. Load up your favorite code editor, here we go.<\/p>\n<p><!--more--><\/p>\n<h2>Step 1 \u2013 Get API Key, Application Secret & Page ID<\/h2>\n<p>These are the three mandatory information you\u2019ll need to get things started.<\/p>\n<p><strong><em>API Key and Application Secret<\/em><\/strong><\/p>\n<ol>\n<li>Sign in to your <a href=\"https:\/\/www.facebook.com\/\" rel=\"nofollow\">Facebook<\/a> and click on <a href=\"https:\/\/www.facebook.com\/developers?ref=bookmarks\">Developer<\/a>\u2018s link on the site bar. (If you don\u2019t have a Developer\u2019s account, you will have to <a href=\"https:\/\/developers.facebook.com\/\" rel=\"nofollow\">sign up<\/a> for one first)\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/facebook_fancount\/facebook-developer-link.jpg\" width=\"176\" height=\"154\" alt=\"facebook developer link\"><\/p>\n<\/li>\n<li>Click \"<strong>Set Up New Application<\/strong>\". Enter any application name, agree to the Facebook terms and click <strong>\"Create Application<\/strong>\". <strong>Note:<\/strong> We are not going to create a real application, but we\u2019ll need to go through these processes to get a <strong>API Key<\/strong> and <strong>Application Secret<\/strong>.\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/facebook_fancount\/create-application.jpg\" width=\"500\" height=\"146\" alt=\"create application\">  <\/li>\n<li>On the next page, you should be able to see your personal <strong>API Key<\/strong> and <strong>Application Secret<\/strong>. Copy it down somewhere or leave the browser window open.\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/facebook_fancount\/api-key.jpg\" width=\"500\" height=\"171\" alt=\"api key\">  <\/li>\n<\/ol>\n<p><strong><em>Page ID<\/em><\/strong><\/p>\n<p><strong>Page ID is the ID of your Facebook Fan Page<\/strong>. If you don\u2019t have a Facebook Fan page, you\u2019ll have to first create one. To get the ID of your Fan page, click <em>edit page<\/em>, and look for your ID (numbers) at the end of the URL \u2013 <code>https:\/\/www.facebook.com\/\/pages\/edit\/?id=<strong>XXXXXXXXX<\/strong><\/code><\/p>\n<h2>Step 2 \u2013 Get <code>Facebook.php<\/code><\/h2>\n<p>You\u2019ll also need the <strong>Facebook API PHP SDK<\/strong> file called <code><a href=\"http:\/\/github.com\/facebook\/php-sdk\/blob\/master\/src\/facebook.php\">Facebook.php<\/a><\/code>. Download it, and place it in the root of your folder. <em>Learn more<\/em><em> about <strong>Facebook PHP SDK<\/strong>.<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/facebook_fancount\/php-sdk.jpg\" width=\"500\" height=\"216\" alt=\"php sdk\"><\/p>\n<h2>Step 3 \u2013 Display Fancount<\/h2>\n<p>To show off your fancount, place the following code in your php file,<\/p>\n<pre>\r\n&lt;?php\r\nrequire_once('facebook.php');\r\n$facebook = new Facebook(array(\r\n    'appId'  =&gt; 'app_id',\r\n    'secret' =&gt; 'secret_key',\r\n    'cookie' =&gt; true,\r\n));\r\n$result = $facebook-&gt;api(array(\r\n    'method' =&gt; 'fql.query',\r\n    'query' =&gt; 'select fan_count from page where page_id = page_id;'\r\n));\r\n$fb_fans = $result[0]['fan_count'];\r\n?&gt;\r\n<\/pre>\n<p>And then you will want to edit the codes to change the following:<\/p>\n<ul>\n<li>Line 4 \u2013 Replace <span class=\"php\"><code>app_id<\/code><\/span> with your <strong>Facebook Application ID<\/strong>.<\/li>\n<li>Line 5 \u2013 Replace <span class=\"php\"><code>secret_key<\/code><\/span> with <strong>Secret<\/strong>.<\/li>\n<li>Line 10 \u2013 Replace the last <code>page_id<\/code> with your <strong>Facebook Fanpage ID<\/strong>.<\/li>\n<\/ul>\n<p>Please refer to <em><strong>Step 1<\/strong><\/em> on how to get <span class=\"php\"><code>app_id<\/code><\/span>, <span class=\"php\"><code>secret_key<\/code><\/span> and <code><span class=\"php\">page_id<\/span><\/code>.<\/p>\n<p>To display the fancount, insert this following code anywhere in the page:<\/p>\n<pre>\r\n&lt;?php echo $fb_fans; ?&gt;\r\n<\/pre>\n<p>That\u2019s all. Style your fancount and make it attractive.<\/p>","protected":false},"excerpt":{"rendered":"<p>Adding a Facebook Like Button on your website or blog is perhaps one of the easiest and most effective way to get more fans and earn more likes. If you have hundreds, thousand or perhaps tens of thousand of fans, it might be a good idea to publish a fan count. Fan count displays in&hellip;<\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3409],"tags":[158,464],"topic":[4523],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Display Facebook Fan Count in Text - Hongkiat<\/title>\n<meta name=\"description\" content=\"Adding a Facebook Like Button on your website or blog is perhaps one of the easiest and most effective way to get more fans and earn more likes. If you\" \/>\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.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Display Facebook Fan Count in Text\" \/>\n<meta property=\"og:description\" content=\"Adding a Facebook Like Button on your website or blog is perhaps one of the easiest and most effective way to get more fans and earn more likes. If you\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2010-06-18T13:26:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-03T17:04:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/facebook_fancount\/facebook-developer-link.jpg\" \/>\n<meta name=\"author\" content=\"Dainis\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dainis\" \/>\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\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/\"},\"author\":{\"name\":\"Dainis\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/524e4c9502f708cb23b4e0bcb53255ed\"},\"headline\":\"How to Display Facebook Fan Count in Text\",\"datePublished\":\"2010-06-18T13:26:50+00:00\",\"dateModified\":\"2025-04-03T17:04:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/\"},\"wordCount\":443,\"commentCount\":49,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/facebook_fancount\\\/facebook-developer-link.jpg\",\"keywords\":[\"Facebook\",\"text\"],\"articleSection\":[\"Social Media\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/\",\"name\":\"How to Display Facebook Fan Count in Text - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/facebook_fancount\\\/facebook-developer-link.jpg\",\"datePublished\":\"2010-06-18T13:26:50+00:00\",\"dateModified\":\"2025-04-03T17:04:10+00:00\",\"description\":\"Adding a Facebook Like Button on your website or blog is perhaps one of the easiest and most effective way to get more fans and earn more likes. If you\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/facebook_fancount\\\/facebook-developer-link.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/facebook_fancount\\\/facebook-developer-link.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-display-facebook-fan-count-in-text\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Display Facebook Fan Count in Text\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/524e4c9502f708cb23b4e0bcb53255ed\",\"name\":\"Dainis\",\"description\":\"Dainis is blogger from Latvia. He is webmaster of Psdeluxe.com (Photoshop deluxe) - a design community where you find photoshop tutorials and useful resources for web and graphic designers.\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/dainis\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Display Facebook Fan Count in Text - Hongkiat","description":"Adding a Facebook Like Button on your website or blog is perhaps one of the easiest and most effective way to get more fans and earn more likes. If you","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.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/","og_locale":"en_US","og_type":"article","og_title":"How to Display Facebook Fan Count in Text","og_description":"Adding a Facebook Like Button on your website or blog is perhaps one of the easiest and most effective way to get more fans and earn more likes. If you","og_url":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2010-06-18T13:26:50+00:00","article_modified_time":"2025-04-03T17:04:10+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/facebook_fancount\/facebook-developer-link.jpg","type":"","width":"","height":""}],"author":"Dainis","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Dainis","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/"},"author":{"name":"Dainis","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/524e4c9502f708cb23b4e0bcb53255ed"},"headline":"How to Display Facebook Fan Count in Text","datePublished":"2010-06-18T13:26:50+00:00","dateModified":"2025-04-03T17:04:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/"},"wordCount":443,"commentCount":49,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/facebook_fancount\/facebook-developer-link.jpg","keywords":["Facebook","text"],"articleSection":["Social Media"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/","url":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/","name":"How to Display Facebook Fan Count in Text - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/facebook_fancount\/facebook-developer-link.jpg","datePublished":"2010-06-18T13:26:50+00:00","dateModified":"2025-04-03T17:04:10+00:00","description":"Adding a Facebook Like Button on your website or blog is perhaps one of the easiest and most effective way to get more fans and earn more likes. If you","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/facebook_fancount\/facebook-developer-link.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/facebook_fancount\/facebook-developer-link.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/how-to-display-facebook-fan-count-in-text\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Display Facebook Fan Count in Text"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/524e4c9502f708cb23b4e0bcb53255ed","name":"Dainis","description":"Dainis is blogger from Latvia. He is webmaster of Psdeluxe.com (Photoshop deluxe) - a design community where you find photoshop tutorials and useful resources for web and graphic designers.","url":"https:\/\/www.hongkiat.com\/blog\/author\/dainis\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-207","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/7695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=7695"}],"version-history":[{"count":4,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/7695\/revisions"}],"predecessor-version":[{"id":73518,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/7695\/revisions\/73518"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=7695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=7695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=7695"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=7695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}