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.

Accessing events of other users?

Highlighted
Occasional Contributor

Accessing events of other users?

I'm working on an app to let users post their CC events to a 3rd party service. The question I have is about what we can access with the API and our user accounts.

 

In this use case, I don't need to modify anything on CC itself, just to read user's info. My original goal was to simply have a tightly controlled user account of my own that would be used to authenticate the API requests in the background. 

 

However, it seems that I can only access information on my own test account. If I try and query for info about events other users have scheduled, or even on a 2nd test account I built to test this specifically, I  get an error of "HTTP Status 403 - Not Allowed to access <username>", where username is the account I'm trying to query.

 

Is there a way to do this without requiring every single user to authenticate on ConstantContact when using the Facebook app?

1 REPLY 1
Highlighted
Employee

Re: Accessing events of other users?

Hello,

 

In order to have access to an accounts API, you do need to have access to that account.  With both authentication methods, OAuth and Basic, you still will need to give the username and password at some point to get any information form the accounts.

 

If you have any questions please let me know.

 

Regards,

Benjamin Soder
NOC Analyst
Constant Contact
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