I was wondering how I can catch the koala oauth exception (e.g. user password reset).
right now this is what i / use so far:
rescue_from Koala::Facebook::APIError do # redirect to fb auth dialog end
but it catches all the errors .. how can I do this with just oauth or just reset password?
EDIT:
found a more explicit solution to the problem:
rescue_from Koala::Facebook::APIError do |exception| if exception.fb_error_type == 190
thanks in advance oliver
Oliver
source share