def parse_signed_request
      Rails.logger.info "  Facebook application \"#{fb_app.namespace}\" configuration in use for this request."
      if request_parameter = request.params["signed_request"]
        encoded_signature, encoded_data = request_parameter.split(".")
        decoded_signature = base64_url_decode(encoded_signature)
        decoded_data = base64_url_decode(encoded_data)
        @fbparams = HashWithIndifferentAccess.new(JSON.parse(decoded_data))
        Rails.logger.info "  Facebook Parameters: #{fbparams.inspect}"
      end
    end
def parse_signed_request
      Rails.logger.info "  Facebook application \"#{fb_app.namespace}\" configuration in use for this request."
      if request_parameter = request.params["signed_request"]
        encoded_signature, encoded_data = request_parameter.split(".")
        decoded_signature = base64_url_decode(encoded_signature)
        decoded_data = base64_url_decode(encoded_data)
        @fbparams = HashWithIndifferentAccess.new(JSON.parse(decoded_data))
        Rails.logger.info "  Facebook Parameters: #{fbparams.inspect}"
      end
    end
If present, parses data from the signed request and inserts it into the fbparams
 object for use during requests