mercredi 9 décembre 2020

iam trying to integrate hubspot with laravel

$response = $hubspot->contacts()->all(); foreach ($response->contacts as $contact) { echo sprintf( "Contact name is %s %s." . PHP_EOL, $contact->properties->firstname->value, $contact->properties->lastname->value );

}

i got this code from github, https://github.com/rossjcooper/laravel-hubspot but by this code it was getting only firstname and lastname if i declare $contact->properties->email->value; email or phonenumber or any other values from hubspot contacts it was not getting.

And all i need is how to get all the contact fields details from the hubspot contact



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/39TR8Yt
via IFTTT

Aucun commentaire:

Enregistrer un commentaire