You have often seen this option in many websites or mobile application. so why this option is getting popularity & what are the benefits of giving this option to user. In this article i will show you what are the benefits of it & how to authenticate/register user via instagram in php.
Nowadays everybody has instagram account. when you register with instagram you have to fill all the details. Now instagram has all the information about you. Instagram provide us an auth protocol by which we can access user information.
Nobody want to enter whole information again & again in different websites. The best way is to use instagram auth protocol by which user can login & give you all his basic information.
It is good for developer & as well as user also. Because user does not want to remember credential for every website he register with, he just want to remember his instagram credentials. so, this is the best way to login or register via instagram.
To implement this feature in your website you need 4 things:
- CLIENT_ID
- CLIENT_SECRET
- REDIRECT_URL
You have to generate client id & client secret in instagram developer panel
You have to configure redirect url in instagram developer panel
Note: Don't forget to replace client id and client secret in config.php


No comments:
Post a Comment