extended permissions

Posted by melimoreno on Stack Overflow See other posts from Stack Overflow or by melimoreno
Published on 2010-04-03T22:40:13Z Indexed on 2010/04/03 22:43 UTC
Read the original article Hit count: 130

Filed under:

Hi i'm doing a fb app that update the status box(what's in your mind), i'm using set_status from facebooker .. first i have this error:

set_status needs extended permission

so i google it and find this: before_filter :ensure_has_status_update .. so i put it in my controller and that solves the problem, but when i try to update the status, all ways redirect me to a fb page that says: You have already granted permissions to this application. so i go to the controller comment before_filter :ensure_has_status_update and then go to my app again and it works..

so i want to do this

if (has_status_update == false)
ask for permision
else
update the status

i google it for a long time but i can't find an answer..

© Stack Overflow or respective owner

Related posts about ruby-on-rails