How to we implement social authentications like facebook, linkedin, google,etc

Look here, there are examples for all social networks:

There are definitely more than 4 examples of working with providers on the blog