Update facebook status using pyfacebook offline access

Posted by Alon Carmel on Stack Overflow See other posts from Stack Overflow or by Alon Carmel
Published on 2010-06-09T00:20:04Z Indexed on 2010/06/13 9:22 UTC
Read the original article Hit count: 413

Filed under:
|

Hey, I'm trying to update a user status from a django python app. The user went thru facebook connect and registers to the app. I got sessionkey and fbuid.

  fb = Facebook(FACEBOOK_API_KEY, FACEBOOK_SECRET_KEY)

    if fbsessionkey:
        fb.session_key = fbsessionkey 
        fb.uid = fbuid
        fb.auth.createToken()
        fb.auth.getSession()
        #update the facebook status
        fb.users.setStatus(status="testing",clear=False)
    else:
        pass

What am i doing wrong? im getting:

Error 104: Incorrect signature

Please note the user already granted offline access also. Please help...

© Stack Overflow or respective owner

Related posts about python

Related posts about facebook