I received a task as a part of a recruitment process although PHP and Salesforce developer experience was not specified as a requirement, but I want to try to finish it and learn something new.
I have the following data:
- Client ID
- Client Secret
- Athentication Target
- Data Extension External Key
What needs to be done with it:
Create a sample form integration that subscribes the user to a newsletter (i.e. one field) on a page written in PHP.
Use the following link for reference: https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/index-api.htm
I know a bit about PHP and how it connects with SQL so I will create a local version on a XAMPP server first. I've already created a developer account and downloaded the Force.com Toolkit for PHP (Version 20.0) and the PHP API starter kit.
My questions are as follows:
Do I have all the necessary data?
When and where do I use the data above?
Does the data somehow force a specific approach (SOAP or REST)?
Can I somehow test if I fail/succeed? I should send the answer via e-mail.