Re: Full Name into First Name and Last Name

Anonymous
Not applicable

Full Name into First Name and Last Name

We recently started twitter card campaigns and the field that they pass - is Full Name. 

From my understanding the leadCapture/save endpoint does not work anymore as of forms 2.0.

So is this guide bad?

http://launchpoint.marketo.com/assets/Uploads/Twitter-Card-Integration2.pdf
Tags (1)
5 REPLIES 5
Anonymous
Not applicable

Re: Full Name into First Name and Last Name

Hi there,
I had the same issue and the answer after working with Twitters team and Marketo is that yes you can't split it out into two fields so it would have to be done via a workflow in SFDC (which I normally can't do becuase I don't have any leads missing last name enter the system) or do it manually, or drive the lead to a page with a form afterward ot gather it that way.

In short - all options kinda suck ; /
Anonymous
Not applicable

Re: Full Name into First Name and Last Name

Womp Womp.. total sadness here. I am going to look into some other possible solutions this week with scripting. I will let you know if I have one. And share it.
Anonymous
Not applicable

Re: Full Name into First Name and Last Name

Any update on this? We're looking to start using Twitter cards as well.
Anonymous
Not applicable

Re: Full Name into First Name and Last Name

Ditto!
Anonymous
Not applicable

Re: Full Name into First Name and Last Name

Yes, 

So I was able to make a script to take the posted data from twitter cards and then repost it to Marketo. If you have Forms 2.0 and not Forms 1.0, you will need use http://developers.marketo.com/documentation/rest . I post mine through a http curl query. I'm using PHP for my example below. this is just a snippet, if you want full explanation or help. Feel free to message me or email me. Hope this helps everyone.

$fields = array(
"FirstName"=>"Roland",
"LastName"=>"Hox",
"Email"=>"hoxxx@gmail.com",
"munchkinId"=>"XXX-XXX-XXX"
);

//open connection
$ch = curl_init();
 
echo $fields;
 
//set the url, number of POST vars, POST data
curl_setopt($ch,CURLOPT_URL, $host);
curl_setopt($ch,CURLOPT_POST, count($fields));
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($fields));
 
//execute post
$result = curl_exec($ch);
 
echo $result;
 
//close connection
curl_close($ch);