You can check here: https://labs.aweber.com/docs/code_samples/subs/create
The script, to add a new subscriber to the list via api, requires these two pieces of information ... only I can not understand for me that these two variables! I beat every little aspect of my Aweber subscriber account and my Aweber Labs account ... and I cannot find any link to any of these variables anywhere. I handed them some tickets and have not yet received an answer.
Does anyone have any ideas? I tried the names of my accounts, the names of my lists, to no avail!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Well, I did it! You can get the values ββof both of these variables by dropping some other variables in the aweber api after making certain api calls.
first enter your account id:
$account = $aweber->getAccount($accessKey, $accessSecret);
then the vardump or print_r $ account.
Next we get the list identifier:
$account = $aweber->getAccount($accessKey, $accessSecret); $list_url = 'https://api.aweber.com/1.0/accounts/<id>/lists'; $lists = $account->loadFromUrl($list_url);
then vardump or print_r $.
And you are all set! I am so happy that I realized that it was quite a long time. Hope this saves you a little time.
source share