I have JwSocialButtonsModule
for my social share.
JwSocialButtonsModule
is in my app module
My code:
<div class="jumbotron">
<div class="row">
<div class="col">
<fb-like url={{url}}></fb-like>
</div>
<div class="col">
<google-plus url={{url}}></google-plus>
</div>
<div class="col">
<tweet url={{url}} text={{text}}></tweet>
</div>
<div class="col">
<linkedin-share url={{url}}></linkedin-share>
</div>
<div class="col">
<pin-it url={{url}} media={{imageUrl}} description={{text}}></pin-it>
</div>
</div>
I need to share custom text instead of url's. If i change url to text its throwing error like
Template parse errors:
Can't bind to 'text' since it isn't a known property of 'fb-like'.
1. If 'fb-like' is an Angular component and it has 'text' input, then verify that it is part of this module.
2. If 'fb-like' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
How to share text content through social share
please try this one to add custom text in between url's
try this to add custom text in between url
.html
.ts