The line: 'accesstoken = client.exchangetoken(:code => params[:code])' raises an error when I try to connect. The error is: undefined method `access_token' for #HTTParty::Response:0x007f91efc09c10
Do you have any idea why this is occuring?
The line: 'accesstoken = client.exchangetoken(:code => params[:code])' raises an error when I try to connect.
The error is: undefined method `access_token' for #HTTParty::Response:0x007f91efc09c10
Do you have any idea why this is occuring?