Angular 2+ Social Sharing Buttons
Demo and instructions available at http://jasonwatmore.com/post/2018/06/01/angular-2-social-sharing-buttons-for-facebook-google-plus-twitter-linkedin-and-pinterest
Angular Social Sharing Buttons
License: MIT License
Angular 2+ Social Sharing Buttons
Demo and instructions available at http://jasonwatmore.com/post/2018/06/01/angular-2-social-sharing-buttons-for-facebook-google-plus-twitter-linkedin-and-pinterest
I noticed the Facebook 'Share' button next to the 'Like' button, and I'm wondering how to implement it. Looking at the test docs, it looks like the Like button is implemented with the <fb-like url={{url}}></fb-like>
directive. What's the directive for the share button?
I am using your component with angular 6 . I have no problem, but I went to fb-like.component.js
and changed the template to template: "<div class=\"fb-like\" [attr.data-href]=\"url\" data-layout=\"button\" data-action=\"like\" data-show-faces=\"false\" data-share=\"true\"></div>"
, so I just get a simple Like and Share Button.
How can I remove the Like
button? I tried with CSS, doing display:none
, but it does not work.
Thanks
I hope you can remove the like button from facebook, it is not very useful, it does not achieve standardization with other social, it can not be removed, it causes errors in the browser.
can you please add an Output field for post created?
I want to catch when the post is created and do stuff.
thanks!
ERROR in : Unexpected value 'JwSocialButtonsModule in C:/htdocs/project/node_modules
/jw-angular-social-buttons/lib/jw-angular-social-buttons.module.d.ts' imported by the m
odule 'AppModule in C:/htdocs/project/src/app/app.module.ts'. Please add a @NgModule
annotation.
This is the error that I get after following the examples in the article: http://jasonwatmore.com/post/2018/06/01/angular-2-social-sharing-buttons-for-facebook-google-plus-twitter-linkedin-and-pinterest
I want to add the tracking feature for a social button for a project but I don't know how to build the jw-angular-social-buttons project.
ERROR in node_modules/jw-angular-social-buttons/lib/jw-angular-social-buttons.module.d.ts:1:22
- error NG6002: Appears in the NgModule.imports of SurveyWebFeatureResultPublishModule, but could not be resolved to an NgModule class.
This likely means that the library (jw-angular-social-buttons) which declares JwSocialButtonsModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
1 export declare class JwSocialButtonsModule {
This likely means that the library (jw-angular-social-buttons) which declares JwSocialButtonsModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
1 export declare class JwSocialButtonsModule
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.