Twitter & Facebook login integration like Pinterest
Pinterest allows user to login and register with Twitter and facebook account, and automatically create an account for the user. This is a very useful tool to attract user to register, while keep the system more consistent with user's profile.
Following page talks the exact step to start with
http://www.dotnetopenauth.net/developers/help/programmatic-openid-relying-party/
https://pinterest.com/join/signup/
http://www.codeproject.com/Articles/314987/Getting-User-Profile-Response-from-Social-Sites-us
http://www.codeproject.com/search.aspx?q=Facebook+%26+Twitter+login&x=0&y=0&sbo=kw
Step 1: Create a Twitter Application
https://dev.twitter.com/apps/new
In order to get key for Facebook
http://stackoverflow.com/questions/2289712/where-do-i-find-api-key-and-api-secret-for-facebook
You have to log on to facebook (with any valid account), go to Account -> Application settings -> Developer -> Set up new application (button at the top right). After creating application you will see the key and secret at application settings page.
Following article provides a good workable code base
http://www.voiceoftech.com/swhitley/index.php/2011/11/authpack-provides-net-oauth-for-twitter-facebook-linkedin-and-google/
I got the error like following
Desktop applications only support the oauth_callback value 'oob'
Following discussion mentioned how to solve it.
https://dev.twitter.com/discussions/3098
Comments
Post a Comment