Re: Dynamic Facebook Share Link Dialog

Anonymous
Not applicable

Dynamic Facebook Share Link Dialog

Hi all,

Is it possible in Marketo to have a dynamic link populate in facebook share dialog in an email?

Thanks in advance.

5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

Re: Dynamic Facebook Share Link Dialog

If you specify what you mean by "dynamic," this'll be easier to answer, but generally speaking Velocity can be used to craft whatever links you want.

Anonymous
Not applicable

Re: Dynamic Facebook Share Link Dialog

Hi Sanford,

Thanks for your reply. For example a lead already visited a page on our site and did an action. This page and the action is shown as a custom object. We want to show that lead a facebook share button that populates the page in the lead's custom object.

Hope that clarifies a little.

SanfordWhiteman
Level 10 - Community Moderator

Re: Dynamic Facebook Share Link Dialog

So build the link using the property of the Custom Object. Can't offer more without real-world example of your CO in the Velocity context (SomethingList[idx].someProperty).

Anonymous
Not applicable

Re: Dynamic Facebook Share Link Dialog

A lead has field in the custom object that has a field name labeled url ie: ( jamessmith-876794 ). I would need to add the domain (youcaring.com) to the field name by velocity scripting and then that is what we would want people to share on Facebook (https://www.youcaring.com/jamessmith-876794 ).

I'm also not quite sure how that program token would even fit into the feed dialog?

https://www.facebook.com/dialog/feed?
  app_id
=145634995501895
 
&display=popup&caption=An%20example%20caption
 
&link=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F
 
&redirect_uri=https://developers.facebook.com/tools/explorer

SanfordWhiteman
Level 10 - Community Moderator

Re: Dynamic Facebook Share Link Dialog

(https://www.youcaring.com/jamessmith-876794 ).

Details are still pretty scant, but this sounds like just

<a href="https://www.youcaring.com/${YourCustomObject[0].url}">Click here</a>