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

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -