 			if options.url[0] != '/'
 				options.url = '/' + options.url
 			options.url = oauthrequest.url + options.url
-		options.url = @_replace_param options.url, @_params, parameters.oauthio, parameters
+		options.url = @_replaceParam options.url, @_params, parameters.oauthio, parameters
 
 		# build query
 		options.qs = {}
 		options.qs[name] = value for name, value of req.query
 		for name, value of oauthrequest.query
-			param = @_replace_param value, @_params, parameters.oauthio, parameters
+			param = @_replaceParam value, @_params, parameters.oauthio, parameters
 			options.qs[name] = param if param
 
 		options.oauth =

			for extra in (provider.oauth1.authorize.extra||[])
				hard_params[extra] = req.params[extra] if req.params[extra]
			for name, value of access_token.query
				param = @_replace_param value, @_params, hard_params, parameters
				query[name] = param if param
			headers = {}
			headers["Accept"] = short_formats[access_token.format] || access_token.format if access_token.format
			for name, value of access_token.headers
				param = @_replace_param value, @_params, {}, parameters
				headers[name] = param if param
			options =
				url: @_replace_param access_token.url, @_params, hard_params, parameters
				method: access_token.method?.toUpperCase() || "POST"
				oauth:
					callback: query.oauth_callback

	_setParams: (parameters) ->
		@_params[k] = v for k,v of parameters

	_replaceParam: (param, params, hard_params, keyset) ->
		param = param.replace /\{\{(.*?)\}\}/g, (match, val) ->
			return hard_params[val] || ""
		return param.replace /\{(.*?)\}/g, (match, val) ->
