Activity Stream
48,167 MEMBERS
6819 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member

    Default Lulzimg API

    Hi, I am planning to make a small tool that will remote upload images to Lulzimg. I have searched a lot, but didn't find any API for remote upload using Lulzimg service.

    Can anyone plz tell me where I can find API for Lulzimg? I use vb.net for developing tools.

    Thanks
    codebreaker911 Reviewed by codebreaker911 on . Lulzimg API Hi, I am planning to make a small tool that will remote upload images to Lulzimg. I have searched a lot, but didn't find any API for remote upload using Lulzimg service. Can anyone plz tell me where I can find API for Lulzimg? I use vb.net for developing tools. Thanks Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Developer
    there API exists but i dont think its public and not with a lot of options, contact 'Lifetalk' for information.
    Although it is fairly easy to upload images to lulzimg programmatically, just check the headers while you remote upload some image.
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  4.     
    #3
    Member
    Quote Originally Posted by mRAza View Post
    there API exists but i dont think its public and not with a lot of options, contact 'Lifetalk' for information.
    Although it is fairly easy to upload images to lulzimg programmatically, just check the headers while you remote upload some image.
    Hi, thanks for your quick reply. I tried to find that using fiddler, but not clear about the data request. I found the url http://lulzimg.com/upload.php but not sure how to implement the remote upload option with this url.

    Thanks

  5.     
    #4
    Respected Developer
    u need to send request this way and then use regex or xpath to get image url:
    PHP Code: 
    http://www.lulzimg.com/upload.php?submit=lulz&url=http://domain.com/logo.png 
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  6.     
    #5
    Member
    Quote Originally Posted by mRAza View Post
    u need to send request this way and then use regex or xpath to get image url:
    PHP Code: 
    http://www.lulzimg.com/upload.php?submit=lulz&url=http://domain.com/logo.png 

    Thanks a lot, this is exactly what I was looking for. Since API is not available publicly, this will work. Any idea how to use it for multiple images?

    Thanks again.

  7.     
    #6
    Respected Developer
    Quote Originally Posted by codebreaker911 View Post
    Thanks a lot, this is exactly what I was looking for. Since API is not available publicly, this will work. Any idea how to use it for multiple images?

    Thanks again.
    for multiple images i checked with fiddler and seems u need to add a line break between image links then send ur post request.
    http://screensnapr.com/e/anuPIP.png
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  8.     
    #7
    Member
    Website's:
    WarezRocker.info Share4U.org Imdb.WarezRocker.info DownTurko.org Host-Palace.com HeroTurko.pro
    Quote Originally Posted by mRAza View Post
    for multiple images i checked with fiddler and seems u need to add a line break between image links then send ur post request.
    http://screensnapr.com/e/anuPIP.png
    hey which software you using? for reading headers? if you dont have problem to tell then please share.

  9.     
    #8
    Respected Developer
    for multiple images i checked with fiddler and seems u need to add a line break between image links then send ur post request.
    Quote Originally Posted by saninokia View Post
    hey which software you using? for reading headers? if you dont have problem to tell then please share.
    i already mentioned, above screenshot was taken from fiddler.
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  10.     
    #9
    Member
    PHP Code: 
    <form action="" method="post">
    <p>
    <br /><input width="80" name="imglinks"><br />
    </p>
    <p>
    <input type="submit" value="Upload Image" />
    </p>
    </form>
    <?php
    if (!empty($_POST['imglinks']))
    {
    $ch curl_init();
    $imglinks=$_POST['imglinks'];
    curl_setopt($chCURLOPT_URL,"http://www.lulzimg.com/upload.php?submit=lulz&url=$imglinks");
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
    curl_setopt($chCURLOPT_BINARYTRANSFER1);
    curl_setopt($chCURLOPT_COOKIEFILE$cookie);
    curl_setopt($chCURLOPT_COOKIEJAR$cookie);
    $data curl_exec($ch);
    curl_close($ch);

    preg_match_all("/http:\/\/i28.lulzimg.com\/[a-z0-9]+\/[a-z0-9A-Z.]+/"$data$matches);


    $break[]=$matches[0];
    echo 
    "LULZ Share Link -";
    echo 
    $break[0][0];
    echo 
    "</br>";
    echo 
    "Direct Layout Links -";
    echo 
    $break[0][1];
    echo 
    "</br>";

    }
    ?>

  11.     
    #10
    Member
    There is also lulzimg.com/app.php which sborg uses, dont know if that is also something to do with the API

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. need help ( lulzimg )
    By rockamitsingh in forum General Discussion
    Replies: 8
    Last Post: 26th Jan 2012, 05:51 AM
  2. Lulzimg is down
    By sahil00150 in forum Webmaster Discussion
    Replies: 7
    Last Post: 12th Jan 2012, 10:42 AM
  3. lulzimg is down for me for 1 hr ?
    By djkelaj in forum General Discussion
    Replies: 1
    Last Post: 11th Jan 2012, 02:53 PM
  4. lulzimg
    By ciaociao4 in forum Web Development Area
    Replies: 5
    Last Post: 17th Aug 2011, 07:55 AM
  5. lulzimg add on
    By chaudhary9 in forum Technical Help Desk Support
    Replies: 4
    Last Post: 27th Jun 2011, 03:08 PM

Tags for this Thread

BE SOCIAL