[Facebooker-talk] Users.hasAppPermission
Josh Sharpe
josh.m.sharpe at gmail.com
Tue Dec 9 11:09:26 EST 2008
If you don't have the user's active session key you have to go through your
app's session:
class Facebook
def self.has_permission?(uid,perm)
Facebooker::Session.create(API_KEY,SECRET).post('facebook.users.hasAppPermission',
:ext_perm => perm, :uid => uid)
end
end
I hacked Facebooker::User in my local repo to support hasAppPermission.
But even after adding it I don't use it simply because it requires an active
user session_key which you may or may not have. The above method works with
just the user's uid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20081209/51b779e6/attachment.html>
More information about the Facebooker-talk
mailing list