Ok... i did a return url and it gave me a post back with code and username. now, as i have the code... i am trying to do this locally without storing it in the db first. i wrote the variable. $code = 'xxxx'; $accessToken = 'xxx'; in the addContact.php file as i am now sure which variable will work for me... but it's still not working... my best gues... these variables are not being used. as seen in the code below. $Datastore = new CTCTDataStore(); $DatastoreUser = $Datastore->lookupUser($username); if($DatastoreUser){ $ConstantContact = new ConstantContact('oauth', $apiKey, $DatastoreUser['username'], $consumerSecret); $ContactLists = $ConstantContact->getLists(); any tips?
... View more