I have created a small project using python social auth for logging with facebook.I have referred python social auth example at link.I can able to get the user name with request.name
.But how can i get the other data like first_name
,last_name
,email
.Any help would be appriciated
example code in views is:
def home(request):
context = RequestContext(request,
{'request': request,
'user': request.user})
return render_to_response('home.html',
context_instance=context)