Posted By

chetmclaughlin on 11/13/11


Tagged

bitly


Versions (?)

Get all bit.ly links from Public Timeline Page


 / Published in: jQuery
 

URL: https://bitly.com/u/johndoe

  1. var links = "Source URL\tDestination URL\n";
  2. $(".resultsItemContainer").each(function(){
  3. var o = $(this).find("div.short_url_display_more a").attr("href");
  4. var d = $(this).find("div.long_url_display_more a").attr("href");
  5. links += o+"\t"+d+"\n";
  6. })
  7. alert(links);

Report this snippet  

You need to login to post a comment.