Archive for the ‘Constant Contact’ Category

The secret of deleting contacts from Constant Contact

Wednesday, September 10th, 2014

You can’t really. An e-mail address in your Constant Contact account tells about your relationship with its owner, the contact. If a recipient becomes fed up with your newsletters and unsubscribes, this information must stick. You must not be allowed to simply delete the address and start over, pretending that nothing has happened.

When you “delete” an e-mail address or a contact using the CtCt website (called GUI) it’s actually only hidden, remaining in the database. It no longer counts towards your quota so for all practical purposes, we can call it deleted. Now, how do you do that with API?


Paginating in Constant Contact API

Saturday, August 30th, 2014

Some services of Constant Contact API return only a subset of results and you’re supposed to submit additional requests with a “next” parameter to fetch more. The implementation isn’t exactly straight forward though, and for some reason, CtCt doesn’t provide any pagination code sample. So here it is, for getContactsFromList().