1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How Do I make multipul bit.ly links with the same url

Discussion in 'BlackHat Lounge' started by kez1000, Oct 19, 2014.

  1. kez1000

    kez1000 Supreme Member

    Jul 24, 2009
    Likes Received:
    Twitter keeps banning my bit.ly links something about spamming I think :rolleyes::rolleyes:
    Damn it I was making bank lol

    Any way I want to make 1000's bit.ly links of the same URL


    I found some script here but it don't work



    define("BiTLY_APi_USER", "willylo");
    define("BiTLY_APi_KEY", "R_bfd64fcf72e0d7bcbad3c9f7425fb1cjkg4");

    function bit_ly_url($url){
    $format = 'xml';
    $version = '2.0.1';
    $bitly = 'http://api.bit.ly/shorten?version='.$version.'&longUrl='.urlencode($url).'&login='.BiTLY_APi_USER.'&apiKey='.BiTLY_APi_KEY.'&format='.$format;
    $response = file_get_contents($bitly);
    if(strtolower($format) == 'json'){
    $json = @json_decode($response,true);
    return $json['results'][$url]['shortUrl'];
    $xml = simplexml_load_string($response);
    return 'http://bit.ly/'.$xml->results->nodeKeyVal->hash;
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Bit.ly [APi] Mass Url Generator</title>
    <style type="text/css">
    html {
    background: #f1f1f1;
    body {
    background: #fff;
    margin: 22px auto;
    width: 764px;
    padding: 22px;
    text-align: center;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #464646;
    h2 {
    font-size: 3em;
    font-weight: normal;


    <h2>Bit.ly [APi] Mass Url Generator</h2>
    if (isset($_POST['doit'])&&($_POST['doit']==1)){
    $tocreate = $_POST['tocreate'];
    $url = $_POST['url'];
    echo "<textarea cols='30' rows='15'>";
    for ($i=0;$i<$tocreate;$i++){
    $url = $url."#".rand(0,9999999);
    $link = bit_ly_url($url);
    echo $link."\r\n";
    echo "</textarea><br /><br />";
    echo "<a href=''>Create More Links</a>";
    echo "<form action='' method='post'><input type='hidden' name='doit' value='1' />";
    echo "URL: <input type='text' name='url' size='50' value='' /><br /><br />";
    echo "Create X Bit.ly: <input type='text' size='1' name='tocreate' value='10' /><br /><br />";
    echo "<input type='submit' value='Create Links' />";
    echo "</form><br /><br />";