Skip to main content

Posts

Showing posts from November, 2016

How to obtain Access Token for MailChimp REST API?

Register an Application  In the MailChimp account, navigate to the Account page. In the account drop-down menu, click Extras and choose API Keys Under the “Developing an App?” heading, click Register and Manage Your Apps Click Register an App In the fields provided, input your application’s information and click Create When creation is successful, you’ll see an Aplication created message appear, and more information at the end of your form, including the Client_ID and Client Secret Obtain the Access Token It begins the authorization process by redirecting the user to the authorize_uri. This is a GET request, and response_type=code, client_id, and the redirect_uri are included. https://login.mailchimp.com/oauth2/authorize?response_type=code&client_id=12345&redirect_uri=http://vsvives.blogspot.com/ The user is prompted to enter their username and password to approve the application then you will redirect back to your redirect_uri as a GET request with the code parameter. h...