The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

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

Highlighted
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
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

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured