arsduo/koala — Issue #144: getting SignedRequest: Invalid signature
Author: caplod
Created: 2011-11-16 15:06:57+00:00
State: open

it seems to be in

koala (1.2.1) lib/koala/oauth.rb:99:in `parse_signed_request'

i have the following in my application controller

class ApplicationController < ActionController::Base
#protect_from_forgery
before_filter :parse_signed_request
def parse_signed_request
@oauth = Koala::Facebook::OAuth.new(APP_CONFIG['app_id'].to_s, APP_CONFIG['secret_key'].to_s, APP_CONFIG['callback_url'].to_s)
@signed_request = @oauth.parse_signed_request(params[:signed_request])
end
end

i am using rails 3.1.1and ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.7.0], MBARI 0x6770, Ruby Enterprise Edition 2011.03