ruby on rails - Koala::Facebook::AuthenticationError , user has changed the password -


i using devise , omniauth , koala.

but (not of course) following error:

koala::facebook::authenticationerror: type: oauthexception, code: 190, error_subcode: 460, message: error validating access token: session has been invalidated because user has changed password. [http 400]

from code:

graph = koala::facebook::api.new(params[:access_token]) @user = graph.get_object("me") 

so second line 1 causing exception. wrong implementation? should handle error in special way? getting new token facebook somehow? or wrong getting error?

thanks


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -