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
django facebook


source to share


No one has answered this question yet

Check out similar questions:

1571
How does Facebook disable built-in developer tools?
817
Django scale?
794
differentiate null = True, blank = True in django
735
What is the shebang / hashbang (#!) In Facebook and the new Twitter urls?
eleven
login_required decorator on ajax views to return 401 instead of 302
0
Uploading files with Django
0
Django custom decorator with cache_page error
0
XML response posted from django is null in javascript
0
How to install more than one page in django
-3
Django: how to return an object from python module



All Articles
Loading...
X
Show
Funny
Dev
Pics