1. Install via NPM:
npm i --save ngx-facebook
FacebookModule into your app's root module
If you only want to use FacebookService only, without using the other components, then you can import it in your app's module instead of
FacebookService and call the
init method (optional):
You can view complete and detailed documentation by visiting https://zyra.github.io/ngx-facebook/.
Example of login with Facebook
Example of sharing on Facebook
Example of adding a Facebook like button
Example of playing a Facebook video
Basic video component usage:
Advanced video component usage:
- Having an issue? or looking for support? Open an issue and we will get you the help you need.
- Got a new feature or a bug fix? Fork the repo, make your changes, and submit a pull request.
Support this project
If you find this project useful, please star the repo to let people know that it's reliable. Also, share it with friends and colleagues that might find this useful as well. Thank you 😄