Skip to content

Instantly share code, notes, and snippets.

@rtekie
Created April 10, 2012 00:38
Show Gist options
  • Save rtekie/2347629 to your computer and use it in GitHub Desktop.
Save rtekie/2347629 to your computer and use it in GitHub Desktop.
LoyaltyPlus share a deal
<script type="text/javascript" charset="utf-8">
try{
var ffImageUrl = "IMAGE URL GOES HERE";
var ffDealName = "DEAL NAME GOES HERE";
var ffDealDescription = "DEAL DESCRIPTION GOES HERE";
var ffMessage = "I found this great deal on YOUR WEBSITE GOES HERE: " + ffDealName ;
}catch(ex){
}
</script>
<script type="text/javascript">_ffLoyalty.displayWidget(YOUR_WIDGET_ID, {message: ffMessage, url: document.location.href, image_url: ffImageUrl, title : ffDealName, description : ffDealDescription)});</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment