-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Hello dear community of ngx-Facebook.
I'm trying to implement the ngx-favebook libary according to the instruction on:
https://github.com/zyra/ngx-facebook
in my project with Angular 7.3.9, Ionic 4.
First I allready have installed the facebook sdk with the following command line before:
npm i --save ngx-facebook to my Ionic 4 project
Then I have allready added this lines to my app.module.ts
import { FacebookModule } from 'ngx-facebook'; ... imports:[ ... FacebookModule.forRoot() ],
and this to my dashboardtab.page.ts
`
import { FacebookService, InitParams } from 'ngx-facebook';
export class DashboardtabPage{
constructor (private fbService: FacebookService){
let InitParams: InitParams = {
appId : 'xxxxxxx',
xfbml : true,
version : 'v3.3'
};
this.fbService.init(InitParams);
}
}
`
Now when I'll use fb-video tags in the template
I got an issue when I'll start my projekt with the following error message:
ERROR Error: "Uncaught (in promise): Error: Template parse errors:
Can't bind to 'href' since it isn't a known property of 'fb-video'.
- If 'fb-video' is an Angular component and it has 'href' input, then verify that it is part of this module.
- If 'fb-video' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
- To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
<fb-video [ERROR ->]href="{{fbPost.link}}">
//$(document).ready(function("): ng:///DashboardtabPageModule/DashboardtabPage.html@27:18
'fb-video' is not a known element: - If 'fb-video' is an Angular component, then verify that it is part of this module.
- If 'fb-video' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
[ERROR ->]
//$(document).ready"): ng:///DashboardtabPageModule/DashboardtabPage.html@27:8
Can any one help?
Best Regards