Forum

Thread tagged as: Problem

fb share button is not showing after blog post

Hello All,

when i am creating a blog and publishing it.aftert that fb share button not shownig. i can confirm that tweeter and google +button are there.

can any please help what is worng with fb shre button.

Damian McCracken

Damian McCracken 0 points

  • 5 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Please show us your Diagnostics Report and template. You would have been asked for these when creating your thread.

Perch: 2.8.15 Production mode: Production (100) Installed apps: content (2.8.15), assets (2.8.15), categories (2.8.15), perch_blog (5.0), perch_forms (1.5) DB driver: PDO DB tables: perch2_blog_authors, perch2_blog_categories, perch2_blog_comments, perch2_blog_index, perch2_blog_posts, perch2_blog_posts_to_categories, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_blogs, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_forms, perch2_forms_responses, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users Users: 4 App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_forms/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_blog/runtime.php'); ?> Scheduled tasks for perch_blog: delete_spam_comments (1440 mins) Editor plug-ins: markitup H1: 421aa90e079fa326b6494f812ad13e79 L1: 376304bae3ce6e0d5054120fa1b085fc headerColour: #ffffff content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 0 content_collapseList: 1 lang: en-gb update_2.1.3: done latest_version: 2.8.15 update_2.2.7: done on_sale_version: 2.8.20 update_2.4.1: done perch_blog_post_url: /blog/post.php?s={postSlug} perch_blog_update: 5.0.1 update_2.6.6: done update_2.8.15: done PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: bahntechnik PERCH_DB_SERVER: localhost PERCH_DB_DATABASE: bahntechnik PERCH_DB_PREFIX: perch2_ PERCH_TZ: Europe/London PERCH_EMAIL_METHOD: smtp PERCH_EMAIL_HOST: localhost PERCH_EMAIL_AUTH: 1 PERCH_EMAIL_USERNAME: web@tew.co.uk PERCH_LOGINPATH: /perch PERCH_PATH: D:\Sharad-Doc\LBFoster\Localhost Website\Bahntechnik Local Website\perch PERCH_CORE: D:\Sharad-Doc\LBFoster\Localhost Website\Bahntechnik Local Website\perch\core PERCH_RESFILEPATH: D:\Sharad-Doc\LBFoster\Localhost Website\Bahntechnik Local Website\perch\resources PERCH_RESPATH: /perch/resources PERCH_HTML5: 1 PERCH_RUNWAY: PERCH_ERROR_MODE: DIE PERCH_DATE_LONG: %d %B %Y PERCH_DATE_SHORT: %d %b %Y PERCH_TIME_SHORT: %H:%M PERCH_TIME_LONG: %H:%M:%S PERCH_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: D:\Sharad-Doc\LBFoster\Localhost Website\Bahntechnik Local Website\perch\templates PERCH_DEFAULT_DOC: index.php PERCH_DEFAULT_EXT: .php PERCH_PRODUCTION_MODE: 100 PERCH_RWD: PERCH_HTML_ENTITIES: PERCH_SSL: PERCH_STRIPSLASHES: PERCH_PROGRESSIVE_FLUSH: 1 PERCH_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: PERCH_SESSION_TIMEOUT_MINS: 20 HOSTING SETTINGS

PHP: 5.5.11 Zend: 2.5.0 OS: WINNT SAPI: cgi-fcgi Safe mode: not detected MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: bf9ad53b11c9a57efdb1057292d73b928b8c5c77 $ MySQL server: 5.5.5-10.1.9-MariaDB Extensions: Core, bcmath, calendar, ctype, date, ereg, filter, ftp, hash, iconv, json, mcrypt, SPL, odbc, pcre, Reflection, session, standard, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, openssl, SimpleXML, wddx, xml, xmlreader, xmlwriter, cgi-fcgi, mysql, mysqli, mbstring, gd, gettext, curl, exif, xmlrpc, Phar, soap, pdo_mysql, pdo_sqlite, imap, tidy, mhash GD: Yes ImageMagick: No PHP max upload size: 64M PHP max form post size: 64M PHP memory limit: 128M Total max uploadable file size: 64M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: No PROCESSOR_ARCHITEW6432: AMD64 FCGI_X_PIPE: \.\pipe\IISFCGI-2aa06356-2e0c-4596-bc4b-c5daf3c1a5d9 PHP_FCGI_MAX_REQUESTS: 10000 PHPRC: C:\Program Files (x86)\PHP\v5.5 ALLUSERSPROFILE: C:\ProgramData APPDATA: C:\Windows\system32\config\systemprofile\AppData\Roaming APP_POOL_CONFIG: C:\inetpub\temp\apppools\Bahntechnik\Bahntechnik.config APP_POOL_ID: Bahntechnik CommonProgramFiles: C:\Program Files (x86)\Common Files CommonProgramFiles(x86): C:\Program Files (x86)\Common Files CommonProgramW6432: C:\Program Files\Common Files COMPUTERNAME: SHARAD-PC ComSpec: C:\Windows\system32\cmd.exe FP_NO_HOST_CHECK: NO LOCALAPPDATA: C:\Windows\system32\config\systemprofile\AppData\Local NUMBER_OF_PROCESSORS: 4 OS: Windows_NT Path: C:\Program Files (x86)\PHP\v5.5;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:; PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE: x86 PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel PROCESSOR_LEVEL: 6 PROCESSOR_REVISION: 2a07 ProgramData: C:\ProgramData ProgramFiles: C:\Program Files (x86) ProgramFiles(x86): C:\Program Files (x86) ProgramW6432: C:\Program Files PSModulePath: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\ PUBLIC: C:\Users\Public SystemDrive: C: SystemRoot: C:\Windows TEMP: C:\Windows\TEMP TMP: C:\Windows\TEMP USERDOMAIN: TARITAS USERNAME: SHARAD-PC$ USERPROFILE: C:\Windows\system32\config\systemprofile VS110COMNTOOLS: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\ windir: C:\Windows windows_tracing_flags: 3 windows_tracing_logfile: C:\BVTBin\Tests\installpackage\csilogfile.log ORIG_PATH_INFO: /perch/core/settings/diagnostics/index.php URL: /perch/core/settings/diagnostics/index.php SERVER_SOFTWARE: Microsoft-IIS/7.5 SERVER_PROTOCOL: HTTP/1.1 SERVER_PORT: 8093 SERVER_NAME: localhost SCRIPT_NAME: /perch/core/settings/diagnostics/index.php SCRIPT_FILENAME: D:\Sharad-Doc\LBFoster\Localhost Website\Bahntechnik Local Website\perch\core\settings\diagnostics\index.php REQUEST_URI: /perch/core/settings/diagnostics/?extended REQUEST_METHOD: GET REMOTE_PORT: 2143 REMOTE_HOST: ::1 REMOTE_ADDR: ::1 QUERY_STRING: extended PATH_TRANSLATED: D:\Sharad-Doc\LBFoster\Localhost Website\Bahntechnik Local Website\perch\core\settings\diagnostics\index.php LOCAL_ADDR: ::1 INSTANCE_META_PATH: /LM/W3SVC/20 INSTANCE_NAME: BAHNTECHNIK INSTANCE_ID: 20 HTTPS: off GATEWAY_INTERFACE: CGI/1.1 DOCUMENT_ROOT: D:\Sharad-Doc\LBFoster\Localhost Website\Bahntechnik Local Website APPL_PHYSICAL_PATH: D:\Sharad-Doc\LBFoster\Localhost Website\Bahntechnik Local Website\ APPL_MD_PATH: /LM/W3SVC/20/ROOT IIS_UrlRewriteModule: 7.1.0761.0 HTTP_UPGRADE_INSECURE_REQUESTS: 1 HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36 HTTP_REFERER: https://localhost:8093/perch/core/settings/diagnostics/ HTTP_HOST: localhost:8093 HTTP_COOKIE: cmsa=1; PHPSESSID=tor4u9fngtmve3ufc2cu8eq1e6 HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8 HTTP_ACCEPT_ENCODING: gzip, deflate, sdch HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8 HTTP_CONNECTION: keep-alive FCGI_ROLE: RESPONDER PHP_SELF: /perch/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1450850256.5412 REQUEST_TIME: 1450850256

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Your installation is out of date, please make sure you have updated to the latest version before requesting support.

We also need to see your template.

Now I am updated perch folder (Perch: 2.8.20). But fb share button is not showing

Rachel Andrew

Rachel Andrew 394 points
Perch Support

As requested twice now, we need to see your template. We really can't help you unless you give us the information we ask for.

Every time you create a thread include the template or page code in question and your Diagnostics Report (short version).

we are using this template to create blog post.html

<div class="hentry">
    <h1><a href="<perch:blog id="postURL" />" rel="bookmark" class="entry-title"><perch:blog id="postTitle" type="text" required="true" size="xl" label="Title" /></a></h1>
    <div class="description entry-content" style="float:left">
        <perch:blog id="postDescHTML" type="textarea" encode="false" editor="markitup" textile="true" size="xxl" required="true" label="Post" />
    </div>
    <p class="entry-published date"><perch:blog id="postDateTime" format="%d %B %Y" label="Date" /> 
        <perch:if exists="authorGivenName">by <perch:blog id="authorGivenName" /> <perch:blog id="authorFamilyName" /></perch:if>
    </p>
</div>
<div class="pull-right">
    <ul>
        <li style="display:inline-block;">
            <div id="fb-root"></div><script>(function(d, s, id) {
              var js, fjs = d.getElementsByTagName(s)[0];
              if (d.getElementById(id)) return;
              js = d.createElement(s); js.id = id;
              js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
              fjs.parentNode.insertBefore(js, fjs);
            }(document, 'script', 'facebook-jssdk'));</script><div class="fb-share-button" data-type="button"></div>
        </li>
        <li style="display:inline-block; position:relative; top:5px;"><a href="https://twitter.com/share" class="twitter-share-button" data-via="tewgroup" data-count="none"><img src="https://lh3.googleusercontent.com/-MVE-rMi4Ozc/VmfqVIBlx9I/AAAAAAAAFCY/SbSne_6nvus/s56-Ic42/tweet.png" /></a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^https:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></li>
        <li style="display:inline-block;top:5px;position:relative"><div class="g-plus" data-action="share" data-annotation="none"></div><script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/platform.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script></li>
    </ul>
</div>
<p><a href="/blog"><i class="fa fa-angle-left"></i> Back to all news</a></p>

<perch:blog id="excerpt" type="textarea" label="Excerpt" textile="true" order="1" suppress="true" size="s" />
<perch:blog id="image" type="image" width="200" height="108" crop="true" suppress="true" />

and the diagnostics report for the same is given below

Perch: 2.8.20
Production mode: Production (100)
Installed apps: content (2.8.20), assets (2.8.20), categories (2.8.20), perch_blog (5.0), perch_forms (1.5)
DB driver: PDO
DB tables: perch2_blog_authors, perch2_blog_categories, perch2_blog_comments, perch2_blog_index, perch2_blog_posts, perch2_blog_posts_to_categories, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_blogs, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_forms, perch2_forms_responses, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 4
App runtimes:
<?php
    include(PERCH_PATH.'/core/apps/content/runtime.php');
    include(PERCH_PATH.'/addons/apps/perch_forms/runtime.php');
    include(PERCH_PATH.'/addons/apps/perch_blog/runtime.php');
?>
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: markitup
H1: 9dec02a902e85c8cb5625805e5766e94
L1: b360731eafd8c554e9cad64c7cd598d0
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.4.4: done
latest_version: 2.8.15
on_sale_version: 2.8.20
perch_blog_post_url: /blog/post.php?s={postSlug}
perch_blog_update: 5.0.1
update_2.6.6: done
update_2.8.20: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: netpractise
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: netpractise_live
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_METHOD: smtp
PERCH_EMAIL_HOST: localhost
PERCH_EMAIL_AUTH: 1
PERCH_EMAIL_USERNAME: web@tew.co.uk
PERCH_LOGINPATH: /perch
PERCH_PATH: E:\Websites\netpractise.com\perch
PERCH_CORE: E:\Websites\netpractise.com\perch\core
PERCH_RESFILEPATH: E:\Websites\netpractise.com\perch\resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: E:\Websites\netpractise.com\perch\templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SESSION_TIMEOUT_MINS: 20
HOSTING SETTINGS

PHP: 5.6.0
Zend: 2.6.0
OS: WINNT
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: f373ea5dd5538761406a8022a4b8a374418b240e $
MySQL server: 5.6.26-log
Extensions: Core, bcmath, calendar, ctype, date, ereg, filter, ftp, hash, iconv, json, mcrypt, SPL, odbc, pcre, Reflection, session, standard, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, openssl, SimpleXML, wddx, xml, xmlreader, xmlwriter, cgi-fcgi, mysql, mysqli, mbstring, gettext, curl, exif, xmlrpc, Phar, soap, pdo_mysql, pdo_sqlite, imap, tidy, pdo_sqlsrv, sqlsrv, gd, mhash
GD: Yes
ImageMagick: No
PHP max upload size: 64M
PHP max form post size: 64M
PHP memory limit: 128M
Total max uploadable file size: 64M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
PROCESSOR_ARCHITEW6432: AMD64
_FCGI_X_PIPE_: \\.\pipe\IISFCGI-570a9cff-45fa-4896-b84f-b9a79d7aced1
PHP_FCGI_MAX_REQUESTS: 10000
PHPRC: C:\Program Files (x86)\PHP\v5.6
ALLUSERSPROFILE: C:\ProgramData
APPDATA: C:\windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG: C:\inetpub\temp\apppools\Netpractise_live\Netpractise_live.config
APP_POOL_ID: Netpractise_live
CommonProgramFiles: C:\Program Files (x86)\Common Files
CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
CommonProgramW6432: C:\Program Files\Common Files
COMPUTERNAME: VPS51246
ComSpec: C:\windows\system32\cmd.exe
FP_NO_HOST_CHECK: NO
LOCALAPPDATA: C:\windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS: 2
OS: Windows_NT
Path: C:\Program Files (x86)\PHP\v5.6;C:\windows\system32\inetsrv;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5.4 & MySQL Utilities 1.5.4 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5.4 & MySQL Utilities 1.5.4 1.5\Doctrine extensions for PHP\;
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE: x86
PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
PROCESSOR_LEVEL: 6
PROCESSOR_REVISION: 3f02
ProgramData: C:\ProgramData
ProgramFiles: C:\Program Files (x86)
ProgramFiles(x86): C:\Program Files (x86)
ProgramW6432: C:\Program Files
PSModulePath: C:\windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC: C:\Users\Public
SystemDrive: C:
SystemRoot: C:\windows
TEMP: C:\windows\TEMP
TMP: C:\windows\TEMP
USERDOMAIN: WORKGROUP
USERNAME: VPS51246$
USERPROFILE: C:\windows\system32\config\systemprofile
windir: C:\windows
ORIG_PATH_INFO: /perch/core/settings/diagnostics/index.php
URL: /perch/core/settings/diagnostics/index.php
SERVER_SOFTWARE: Microsoft-IIS/8.5
SERVER_PROTOCOL: HTTP/1.1
SERVER_PORT: 80
SERVER_NAME: www.netpractise.com
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SCRIPT_FILENAME: E:\Websites\netpractise.com\perch\core\settings\diagnostics\index.php
REQUEST_URI: /perch/core/settings/diagnostics/?extended
REQUEST_METHOD: GET
REMOTE_PORT: 17239
REMOTE_HOST: 115.254.109.153
REMOTE_ADDR: 115.254.109.153
QUERY_STRING: extended
PATH_TRANSLATED: E:\Websites\netpractise.com\perch\core\settings\diagnostics\index.php
LOCAL_ADDR: 185.96.7.215
INSTANCE_META_PATH: /LM/W3SVC/4
INSTANCE_NAME: NETPRACTISE_LIVE
INSTANCE_ID: 4
HTTPS: off
GATEWAY_INTERFACE: CGI/1.1
DOCUMENT_ROOT: E:\Websites\netpractise.com
APPL_PHYSICAL_PATH: E:\Websites\netpractise.com\
APPL_MD_PATH: /LM/W3SVC/4/ROOT
IIS_UrlRewriteModule: 7.1.1952.0
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
HTTP_REFERER: https://www.netpractise.com/perch/core/settings/diagnostics/
HTTP_HOST: www.netpractise.com
HTTP_COOKIE: _ga=GA1.2.1795620649.1450870157; cmsa=1; PHPSESSID=9ig68ndvesbnrqlgjumalvubl1
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_CONNECTION: keep-alive
FCGI_ROLE: RESPONDER
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1451285486.2494
REQUEST_TIME: 1451285486

i will really appriciate if anyone can have look into this and let me know what i am doing worng. why fbshare button not showing on the blog page.

Drew McLellan

Drew McLellan 2638 points
Perch Support

None of that appears to be managed by Perch. Do you see the JavaScript in the HTML output?

Yes I can see the JavaScript in Html output when pressing F12

<li style="display:inline-block;"> <div id="fb-root"></div><script src="https://apis.google.com//scs/apps-static//js/k=oz.gapi.en_GB.cJkIm0jUbF0.O/m=gapi_iframes_style_bubble/exm=auth,plus/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCMfB6uTBe-eJT43Gy1rNo6w6uY2fA/t=zcms/cb=gapi.loaded_2" async=""></script><script src="https://apis.google.com//scs/apps-static//js/k=oz.gapi.en_GB.cJkIm0jUbF0.O/m=auth/exm=plus/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCMfB6uTBe-eJT43Gy1rNo6w6uY2fA/t=zcms/cb=gapi.loaded_1" async=""></script><script src="https://apis.google.com//scs/apps-static//js/k=oz.gapi.en_GB.cJkIm0jUbF0.O/m=plus/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCMfB6uTBe-eJT43Gy1rNo6w6uY2fA/t=zcms/cb=gapi.loaded_0" async=""></script><script async="" src="//www.google-analytics.com/analytics.js"></script><script type="text/javascript" async="" src="https://apis.google.com/js/platform.js" gapi_processed="true"></script><script id="twitter-wjs" src="https://platform.twitter.com/widgets.js"></script><script id="facebook-jssdk" src="//connect.facebook.net/en_GB/all.js#xfbml=1"></script><script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script><div class="fb-share-button" data-type="button"></div> </li>

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, so I don't think this is anything to do with Perch is it?

okay ,so can anyone please suggest how to fix this please.i am not getting solution for it.

you need something like this

<!-- Your share button code --> <div class="fb-share-button" data-href="https://www.your-domain.com/your-page.html" data-layout="button_count"> </div>

or better still put in a like button and include the share button... see...

https://developers.facebook.com/docs/plugins/like-button