{"id":110,"date":"2020-09-08T11:49:43","date_gmt":"2020-09-08T11:49:43","guid":{"rendered":"http:\/\/localhost:2299\/demo_sscl\/?page_id=110"},"modified":"2020-09-08T11:49:43","modified_gmt":"2020-09-08T11:49:43","slug":"exchange-locker-social-share-full-features-with-basic-slim-theme","status":"publish","type":"page","link":"https:\/\/www.codetides.com\/super-social-content-locker\/exchange-locker-social-share-full-features-with-basic-slim-theme\/","title":{"rendered":"Exchange Locker Social Share Full features with Basic Slim Theme"},"content":{"rendered":"<div class=\"codetides_sscl_container \" id=\"theme1-locker298\"><div class=\"box-basic-slim\"><div class=\"basic-slim\"><\/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 Features to Get Premium Content Free!<\/div><div class=\"content-holder\"><div class=\"button-holder\">\n\t\t\t\t\t<div class=\"button-out1\"><i class=\"fa fa-youtube\" aria-hidden=\"true\"><\/i>\n\t\t\t\t\t  <div class=\"sscl_btn_sn btn1 yt\">\n\t\t\t\t\t\t<div class=\"button-inner inner1\">Subscribe to Unlock<\/div>\n\t\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 = \"110\";\n\t\tvar post_locker_id =  \"298\";\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\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\t<div class=\"button-out1\"><i class=\"fa fa-linkedin\" aria-hidden=\"true\"><\/i>\n\t\t\t\t\t  <div class=\"sscl_btn_sn btn1 ln\">\n\t\t\t\t\t\t<div class=\"button-inner inner1\">Linkedin Share<\/div>\n\t\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-110_container-theme1-locker298&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-110_container-theme1-locker298&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 = \"110\";\n\t\tvar post_locker_id =  \"298\";\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\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div><\/div><\/div><\/div><div class=\"codetides_sscl_container_unlock\" id=\"unlock_theme1-locker298\" >Congrats you did it, Please download pdf from link below.\r\nhttp:\/\/www.google.com<\/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-110","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.codetides.com\/super-social-content-locker\/wp-json\/wp\/v2\/pages\/110","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=110"}],"version-history":[{"count":0,"href":"https:\/\/www.codetides.com\/super-social-content-locker\/wp-json\/wp\/v2\/pages\/110\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codetides.com\/super-social-content-locker\/wp-json\/wp\/v2\/media?parent=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}