With the growing usage of social media, such as facebook, instagram, twitter, youtube, linkedin, github, and weibo, people now can't live without them. Many would have an account on these platform and share personal information, photo, and post with others. As a result, we may utilize this situation, develop applications using the logging in information of these social media, and gain users' information.
This is a demonstation of how to include facebook buttons, such as login, like, and share. After loggin in, the users' information would be printed below the button in a json format. I would go through the process from creating a facebook application and the configuration needed below.
Create a new application on the top right menu, clicking on the Add a new App.
Choose the platform. Here, I choose www since I'm developing a facebook application on this webpage.
Enter the name of the application.
After creating a facebook application, clicking on the setting on the left hand side menu, here's where you may enter and change the url of the web site.
and a simple html button,
a simple login button would be finished.
Conslusion
To insert a social button into an application is quite simple and need only to use the code on the facebook developer page, it's relatively easy to integrate these social medias.