{"id":14319,"date":"2011-05-31T01:39:58","date_gmt":"2011-05-30T23:39:58","guid":{"rendered":"https:\/\/www.digitalking.it\/2011\/05\/31\/hidden-facebook-content-of-a-page-explained\/"},"modified":"2011-05-31T01:39:58","modified_gmt":"2011-05-30T23:39:58","slug":"hidden-facebook-content-of-a-page-explained","status":"publish","type":"post","link":"https:\/\/www.digitalking.it\/en\/2011\/05\/31\/hidden-facebook-content-of-a-page-explained\/","title":{"rendered":"Hidden Facebook content of a page explained"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading time:<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span><p>Maybe you noticed when visiting Facebook fan pages that sometimes the content is hidden and you must click Like to reveal it, naturally this is done for stimulating the subscriptions.<\/p>\n<p>To create these pages is enough simple, here is the process.<\/p>\n<p>1. Create a Facebook page, go to <a href=\"https:\/\/www.facebook.com\/developers\" target=\"_blank\" rel=\"noopener\">Developers page<\/a> and click &#8220;Set new app&#8221;<\/p>\n<p>2. Give a name and click &#8220;Create app&#8221;<\/p>\n<p>3. Here we are on the main page with general application infos; you can insert a description, an icon, a logo, choose language etc&#8230;<\/p>\n<p>4. On website insert URL and domain of your own website and apply the changes<\/p>\n<p>5. Facebook integration it&#8217;s the most rich\/interesting part:<\/p>\n<p>&#8211; on <em>Canvas page<\/em> choose a name for your own page, this will compose the address<br \/>\n&#8211; on <em>Canvas URL<\/em> insert the address of your site that contains the secret page (eg. http:\/\/www.test.com\/secretpage\/)<br \/>\n&#8211; on <em>Secure Canvas URL<\/em> insert the URL if https protocol is supported<br \/>\n&#8211; on <em>iframe size<\/em> you can choose to see the scrollbars or auto-resize (the standard size of Facebook page is 520px)<br \/>\n&#8211; on <em>Tab name<\/em> give it a name<br \/>\n&#8211; on <em>Tab URL<\/em> insert the full address of the secret page (eg. http:\/\/www.test.com\/secretpage\/index.php); must be a PHP file, you will know by reading below<br \/>\n&#8211; on <em>Secure tab URL<\/em> insert the full address of the secret page if https protocol is supported<\/p>\n<p>Once done you must create the <strong>index.php<\/strong> with some code and upload it within the <strong>facebook.php<\/strong> file (part of <a href=\"http:\/\/developers.facebook.com\/docs\/sdks\" target=\"_blank\" rel=\"noopener\">Facebook SDK<\/a>) on the choosen path.<br \/>\n<a href=\"http:\/\/www.chilipepperdesign.com\/2011\/02\/15\/reveal-fan-gate-like-gate-facebook-iframe-tab-tutorial-with-php\" target=\"_blank\" rel=\"noopener\">Here<\/a> an article that show and explain the php code content.<\/p>\n<p>6. Back to alla general infos app page and click on <em>Application profile page<\/em>, you will be redirect to application page<\/p>\n<p>7. Scroll down and on the left part click <em>Add to my page<\/em>; in the popup list choose the application just created<\/p>\n<p>Who visit the fan page if click on Go to application will show content for non fans until click Like.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading time:<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>The process behind a Facebook fan page with hidden content: how they are created<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advgb_blocks_editor_width":"","advgb_blocks_columns_visual_guide":"","footnotes":""},"categories":[3448],"tags":[],"class_list":["post-14319","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"author_meta":{"display_name":"Simone","author_link":"https:\/\/www.digitalking.it\/en\/author\/admin\/"},"featured_img":null,"coauthors":[],"tax_additional":{"categories":{"linked":["<a href=\"https:\/\/www.digitalking.it\/en\/category\/uncategorized\/\" class=\"advgb-post-tax-term\">Uncategorized<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">Uncategorized<\/span>"]}},"comment_count":"0","relative_dates":{"created":"Posted 15 years ago","modified":"Updated 15 years ago"},"absolute_dates":{"created":"Posted on May 31, 2011","modified":"Updated on May 31, 2011"},"absolute_dates_time":{"created":"Posted on May 31, 2011 1:39 am","modified":"Updated on May 31, 2011 1:39 am"},"featured_img_caption":"","series_order":"","_links":{"self":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/posts\/14319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/comments?post=14319"}],"version-history":[{"count":0,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/posts\/14319\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/media?parent=14319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/categories?post=14319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/tags?post=14319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}