[Answered ]-'WSGIRequest' object has no attribute 'facebook'

0👍

solved.

adding 'facebook.djangofb.FacebookMiddleware' to MIDDLEWARE_CLASSES in settings.py will attach a facebook object to every incoming request.

2👍

Actually, you need
'socialregistration.middleware.FacebookMiddleware'
in MIDDLEWARE_CLASSES

not 'facebook.djangofb..' one.

👤Spajus

Leave a comment