Django facebook attribute error using facebook_required decorator
I am getting an attribute error The Facebook instance has no attribute 'has_permissions' when using the facebook_required decorator.
My code snippet:
@facebook_required
def update_status(request):
import time
quote = 'Hello World !!!' + time.strftime("%H:%M:%S")
graph.put_wall_post(quote, profile_id=str(request.facebook.user.facebook_id))
return HttpResponse('Status Updated !!!')
What is the problem?
+3
source to share
No one has answered this question yet
Check out similar questions: