After reading several posts here and the available documentation I am still a bit confused as to how to set up an API token allowing me to link our web app with a Constant Contact account.
What I am investigating here is how to link our CRM web app to a subscribers Constant Contact account so they can send customer records via the API to Constant Contact for use in email marketing.
Is their a way our customer can create a token that we can then store for use later? This is where I am lost with the Mashable / OAuth concept of how a Constant Contact client can give us a token for API use.
Hi Tim, Yes, using OAuth you can have users login with their Constant Contact credentials and then an OAuth token will be passed back to you. You would then just store this token and use it when communicating with their account.
The first step to using OAuth is to make sure you have the proper redirect URI setup for your application. You will want it to be either your domain (http://www.yoursite.com/) or even the script that would store the OAuth token (although if you just put the domain you will be able to use multiple pages/ change this dyanmically).
You can then direct users to the following URL for them to login (replacing the placeholder for the API key and the Redirect URI with the proper values):