cancel
Showing results for 
Search instead for 
Did you mean: 

In Oauth2 wrapper file a function is missing so if i integrate it by own is that work then.

Occasional Advisor

In Oauth2 wrapper file a function is missing so if i integrate it by own is that work then.

Hi,

 

I am using Oauth2 wrapper files, Downloaded files from these URL

https://github.com/constantcontact/ctct_php_library

and if i see the ConstantContact.php file there is missing a function getCampaignByID($ID)

.This function is oauth1 wrapper files.

-So I tried implementing same code in the Oauth2 wrapper and it's working. So I want to ask my this new function will not breach any security thing. plese suggest.

-And if my code is helpful for you please update your repository and made the files consistant with other wrapper files.

1 REPLY 1
Highlighted
CTCT Employee

Re: In Oauth2 wrapper file a function is missing so if i integrate it by own is that work then.

Hi,

 

You are correct, we should have getCampaignByID in the wrapper you referenced, and we do not.  I am going to add that function to the main library (the one your referenced) shortly.  There isn't a security concern around that function for OAuth 2.

 

Thanks for pointing that out!

 

 

Best Regards,

Shannon W.

API Support Specialist