Used Social Media share Core component available in AeM 6.4 & 6.5 vanilla instances. Created and authored proxy component of it on page, enabled properties on Social Media Tab of page & 'View as published' but icons of FB, Pinterest are not visible.
Installed Core components 2.9 + versions package as well & try the same but still the issue of icons are not show-up on page.
Anything else needs to be done, to make it work. Inputs would be really appreciated.
Below is observed as per log:
*ERROR* [[0:0:0:0:0:0:0:1]  GET /content/we-retail/us/en/men.html HTTP/1.1]
org.apache.sling.scripting.sightly.render.ObjectModel Cannot access method metadata on object com.adobe.cq.wcm.core.components.internal.models.v1.SocialMediaHelperImpl@4b48ddf2
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Per the log statements, SocialMediaHelper's getMetadata() method (which is responsible for retrieving the og:url and og:image) is not accessible which implies issue in core components bundle (which has the implementation class)
Cross check the core components bundle version and if it is active (as available in Felix console - http://localhost:4502/system/console/)
Please do let know how you are including the Core components to your instance. (is it direct install or via maven project)
Core component bundle is in "Active" state and can see Models export. Core components are Directly installed on instance thru package manager.
As per logs can see only below after authoring on page not sure exactly. Please let me know if anything.
*WARN* [0:0:0:0:0:0:0:1  GET /content/we-retail/test--page.html HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/we-retail/settings from /conf/we-retail/settings - Probably misconfigured as it ends with '/settings'