?Giveaway Iphone 14 (Verified)✅
Anonymous
154 x views • 3 years ago
<div id="offerContainer"></div>
<!--WARNING - THIS IS AN OLD JQUERY VERSION-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
$.getJSON("https://dwmsurhf1svv8.cloudfront.net/public/offers/feed.php?user_id=381007&api_key=57cb9a1168983544c717d45a3a7f8e18&s1=&s2=&callback=?",
function(offers){
var html = '';
var numOffers=5; //Change to trim offers. Max is 10.
offers=offers.splice(0,numOffers);
$.each(offers, function(key, offer){
html += '<div><a href="'+offer.url+'" target="_blank" title="'+offer.conversion+'">'+offer.anchor+'</a></div>';
});
$("#offerContainer").append(html);
});
});
</script>