How to add facebook login to Python Django Project? -
i want build django application have simple button "login using facebook" , redirects facebook page allowing log in facebook username , password . when user clicks "login" . should redirect me defined url can display user's public information profile. how can achieved ?? 4shared.com allows login facebook . want want display public information of user.
you should take @ of existing oauth libraries django. i'm using allauth, , can recommend it, though documentation bit lacking.
here's tutorial helped me lot when starting out: http://www.sarahhagstrom.com/2013/09/the-missing-django-allauth-tutorial/
as how display facebook user's public information, should consult facebook graph api
Comments
Post a Comment