How to implement login with social media in ionic?

How to implement login with social media (facebook, google, twitter) in ionic2?

Many people use Firebase to handle authentication in Ionic apps.

See this tutorial: