affinitiz/facebook-cf-sdk — Issue #26: Http function?
Author: pmortiz238
Created: 2011-10-21 15:48:41+00:00
State: open

I am using CF	9,0,1,274733 and am getting the following error in function GetOAuthAccessToken:

"The method addParam is not defined"

public String function getOAuthAccessToken(String clientId = "", String clientSecret = "", String code = "", String grantType = "", String redirectUri) {
var accessToken = "";
var httpService = new Http(url="https://graph.facebook.com/oauth/access_token", timeout=variables.TIMEOUT);
var queryString = "";
-- offending line below
if (arguments.clientId != "") httpService.addParam(type="url", name="client_id", value=arguments.clientId);
-----
:
:
}

Is "Http" a method that should exist in one of the cfc files?

thanks for any help...