{"id":64,"date":"2020-09-08T11:09:07","date_gmt":"2020-09-08T11:09:07","guid":{"rendered":"http:\/\/localhost:2299\/demo_sscl\/?page_id=64"},"modified":"2020-09-08T11:09:07","modified_gmt":"2020-09-08T11:09:07","slug":"premium-content-social-share-full-features-with-stylish-dark-theme","status":"publish","type":"page","link":"https:\/\/www.codetides.com\/super-social-content-locker\/premium-content-social-share-full-features-with-stylish-dark-theme\/","title":{"rendered":"Premium Content Social Share Full features with Stylish Dark Theme"},"content":{"rendered":"<div class=\"codetides_sscl_container_non_premium_content\" id=\"theme4-locker273-non-premium-content\">This is Non Premium Content Which is visible by default. This is Non Premium Content Which is visible by default. This is Non Premium Content Which is visible by default. This is Non Premium Content Which is visible by default. This is Non Premium Content Which is visible by default. This is Non Premium Content Which is visible by default. This is Non Premium Content Which is visible by default. This is Non Premium Content Which is visible by default.<\/div><div class=\"codetides_sscl_container \" id=\"theme4-locker273\"><div class=\"box-stylish-dark dark\"><div class=\"stylish-dark\"><\/div><h3><i class=\"fa fa-lock\" aria-hidden=\"true\"><\/i> This Content is Premium! <i class=\"fa fa-lock\" aria-hidden=\"true\"><\/i><\/h3><div class=\"desc\">Please Use One of the Below Feature To Unlock Premium Content Absolutely Free!<\/div><div class=\"content-holder\"><div class=\"button-holder\">\n\t\t\t\t\t\n\t\t\t\t  <div class=\"sscl_btn_sn btn4 yt\">\n\t\t\t\t\t<div class=\"button-inner inner4\">Subscribe to Unlock<\/div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t\n\t\t\t<a href=\"javascript:void(0);\" onclick=\"javascript:authenticate().then(loadClient);\" ><img decoding=\"async\" src=\"https:\/\/www.codetides.com\/super-social-content-locker\/wp-content\/plugins\/super-social-content-locker\/public\/images\/yt.png\" \/><\/a>\n\t\t\t\n\t\t\t<script src=\"https:\/\/apis.google.com\/js\/api.js\"><\/script>\n<script>\n\n  function authenticate() {\n\t  \n    return gapi.auth2.getAuthInstance()\n        .signIn({scope: \"https:\/\/www.googleapis.com\/auth\/youtube.force-ssl\"})\n        .then(function() { console.log(\"Sign-in successful\"); },\n              function(err) { console.error(\"Error signing in\", err); });\n  }\n  function loadClient() {\n    gapi.client.setApiKey(\"AIzaSyCV83iI9uHD6x4qGAaZYOOTPT0nawUdzHE\");\n    return gapi.client.load(\"https:\/\/www.googleapis.com\/discovery\/v1\/apis\/youtube\/v3\/rest\")\n        .then(function() { console.log(\"GAPI client loaded for API\");execute(); },\n              function(err) { console.error(\"Error loading GAPI client for API\", err); });\n  }\n  \/\/ Make sure the client is loaded and sign-in is complete before calling this method.\n  function execute() {\n    return gapi.client.youtube.subscriptions.insert({\n      \"part\": \"snippet\",\n      \"resource\": {\n        \"snippet\": {\n          \"resourceId\": {\n            \"kind\": \"youtube#channel\",\n            \"channelId\": \"UCzgHknhVZ_4COC5xPAB8Iww\"\n          }\n        }\n      }\n    })\n        .then(function(response) {\n                \/\/ Handle the results here (response.result has the parsed body).\n                console.log(\"Response\", response);\n\t\t\t\texcute_youtube_unlock_content();\n              },\n              function(err) { console.error(\"Execute error\", err); });\n  }\n  function excute_youtube_unlock_content(){\n\t\t\n\t\tvar user_ip = \"216.73.217.72\";\n\t\tvar post_id = \"64\";\n\t\tvar post_locker_id =  \"273\";\n\t\tjQuery.post(\n\t\t\t\"https:\/\/www.codetides.com\/super-social-content-locker\/wp-admin\/admin-ajax.php\", \n\t\t\t{\n\t\t\t\taction:\"getYoutubeUnlockContent\",\n\t\t\t\tdata:{post_id: post_id, post_locker_id: post_locker_id}\n\t\t\t}, \n\t\t\tfunction(jsontext){\n\t\t\t\tvar json = JSON.parse(jsontext);\n\t\t\t\tif(json.unlock==1){\n\t\t\t\t\tif (jQuery.magnificPopup.instance.isOpen) {\n                        jQuery(\".popupoverlay\").magnificPopup(\"close\");\n                    }\n\t\t\t\tjQuery(\".codetides_sscl_container\").hide();\n\t\t\t\tjQuery(\".codetides_sscl_container_unlock\").fadeIn();\n\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tsetTimeout(excute_youtube_unlock_content, 1000);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n  gapi.load(\"client:auth2\", function() {\n    gapi.auth2.init({client_id: \"412394901078-vibii3g9enqq07u0tjrckhgfkjd46oj8.apps.googleusercontent.com\"});\n  });\n<\/script>\n\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t  <\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t  <div class=\"sscl_btn_sn btn4 ln\">\n\t\t\t\t\t<div class=\"button-inner inner4\">Linkedin Share<\/div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href=\"https:\/\/www.linkedin.com\/oauth\/v2\/authorization?response_type=code&client_id=78vaen05bzw568&redirect_uri=https:\/\/www.codetides.com\/super-social-content-locker\/wp-content\/plugins\/super-social-content-locker\/public\/linkedinshare.php&state=ssclbar_post-64_container-theme4-locker273&scope=r_liteprofile r_emailaddress w_member_social\" onclick=\"window.open('https:\/\/www.linkedin.com\/oauth\/v2\/authorization?response_type=code&client_id=78vaen05bzw568&redirect_uri=https:\/\/www.codetides.com\/super-social-content-locker\/wp-content\/plugins\/super-social-content-locker\/public\/linkedinshare.php&state=ssclbar_post-64_container-theme4-locker273&scope=r_liteprofile r_emailaddress w_member_social','newwindow', 'width=700,height=550'); return false;\"><img decoding=\"async\" src=\"https:\/\/www.codetides.com\/super-social-content-locker\/wp-content\/plugins\/super-social-content-locker\/public\/images\/lnshare.png\" \/><\/a>\n\t\t<script type=\"text\/javascript\">\n\tfunction excute_linkedin_unlock_content(){\n\t\t\n\t\tvar user_ip = \"216.73.217.72\";\n\t\tvar post_id = \"64\";\n\t\tvar post_locker_id =  \"273\";\n\t\tjQuery.post(\n\t\t\t\"https:\/\/www.codetides.com\/super-social-content-locker\/wp-admin\/admin-ajax.php\", \n\t\t\t{\n\t\t\t\taction:\"getLinkedinUnlockContent\",\n\t\t\t\tdata:{post_id: post_id, post_locker_id: post_locker_id}\n\t\t\t}, \n\t\t\tfunction(jsontext){\n\t\t\t\tvar json = JSON.parse(jsontext);\n               \/\/ alert(json.unlock);\n\t\t\t\tif(json.unlock==1){\n    \t\t\t\tif (jQuery.magnificPopup.instance.isOpen) {\n                        jQuery(\".popupoverlay\").magnificPopup(\"close\");\n                    }\n\t\t\t\tjQuery(\".codetides_sscl_container\").hide();\n\t\t\t\tjQuery(\".codetides_sscl_container_unlock\").fadeIn();\n\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tsetTimeout(excute_linkedin_unlock_content, 1000);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\tjQuery(document).ready( function () {\n\t  excute_linkedin_unlock_content();\n\t});\n\n<\/script>\n\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t  <\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t<\/div><\/div><\/div><\/div><div class=\"codetides_sscl_container_unlock\" id=\"unlock_theme4-locker273\" >This is Premium Content Which will be visible after using unlock feature. This is Premium Content Which will be visible after using unlock feature. This is Premium Content Which will be visible after using unlock feature. This is Premium Content Which will be visible after using unlock feature. This is Premium Content Which will be visible after using unlock feature. This is Premium Content Which will be visible after using unlock feature.<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-64","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.codetides.com\/super-social-content-locker\/wp-json\/wp\/v2\/pages\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codetides.com\/super-social-content-locker\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.codetides.com\/super-social-content-locker\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.codetides.com\/super-social-content-locker\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codetides.com\/super-social-content-locker\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":0,"href":"https:\/\/www.codetides.com\/super-social-content-locker\/wp-json\/wp\/v2\/pages\/64\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codetides.com\/super-social-content-locker\/wp-json\/wp\/v2\/media?parent=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}