I have created an App in Marketing Cloud in App center, as off now the app summary page gives me Cilent Id, Client Secret and Application Id for my App.
But, I also need OAuth token for connecting my App to Marketing Cloud.
As I am new to API calls and Marketing cloud, Can someone give a code example of how to retrieve the OAuth access token from the application in App Center and also can I use the same process once the access token expires after 1 hour.
All I found on net regarding this is, To obtain an OAuth token, perform a HTTP POST specifying your clientID and clientSecret in the payload. But, I was not able to put the pieces together.
Also, could some one give some sample code for using this OAuth and Client details to connect to marketing cloud.