Graalians

Graalians (https://www.graalians.com/forums/index.php)
-   Off-Topic Chat (https://www.graalians.com/forums/forumdisplay.php?f=14)
-   -   Kik photo downloader (https://www.graalians.com/forums/showthread.php?t=26075)

Gunderak 10-04-2014 06:08 PM

Kik photo downloader
 
Hi,
I got bored and had nothing better to do, so I made a thing to download peoples profile pictures from kik.
http://www.geargutz.com
Any feedback or ideas would be appreciated.

twilit 10-05-2014 02:41 AM

stalker much?

Phantos 10-05-2014 03:38 AM

Interesting coding project, well done!

Tricxta 10-06-2014 01:33 AM

Gunderschmak is amazing coder, I wish I knew how to use APIs like him.

Gunderak 10-06-2014 01:54 AM

There wasn't an API. I had to make my own :P

Thallen 10-10-2014 03:30 PM

Nice work!

hosler 10-12-2014 06:11 PM

Quote:

Posted by Tricxta (Post 510237)
Gunderschmak is amazing coder, I wish I knew how to use APIs like him.

Lol tricxta is jelly

Tricxta 10-12-2014 10:53 PM

Quote:

Posted by hosler (Post 511353)
Lol tricxta is jelly

:rolleyes: Damn, I didn't mean to make it so obvious...

hosler 10-13-2014 01:40 PM

Well you did, noob. Nice app, gunderak.

Tricxta 10-13-2014 11:59 PM

Quote:

Posted by hosler (Post 511482)
Well you did, noob.

I hurd you use APIs.

Gunderak 10-19-2014 02:08 PM

O. O

The Doctor 10-19-2014 09:05 PM

Quote:

Posted by Gunderak (Post 512482)
O. O

Nice bump

HON3Y BADG3R 10-20-2014 01:03 AM

Perfect for Zanza's fappening!

Gunderak 10-22-2014 12:20 PM

Quote:

Posted by Tricxta (Post 511552)
I hurd you use APIs.

http://profilepics.kik.com/ZilxXZLgg...qXxks/orig.jpg

Vivid 10-22-2014 01:42 PM

Jacobthabeast1227
Works like a dream.

Tricxta 10-23-2014 11:02 PM

Quote:

Posted by Gunderak (Post 513010)
a picture

Why'd you go do that?

Gunderak 10-24-2014 06:46 AM

Quote:

Posted by Tricxta (Post 513272)
Why'd you go do that?

Because I apparently use an API.

Tricxta 10-24-2014 06:55 AM

Quote:

Posted by Gunderak (Post 513372)
Because I apparently use an API.

And posting that picture proves otherwise? :sarcastic:

Gunderak, I hurd you aren't very good at proofs.

Gunderak 10-24-2014 01:48 PM

I am very good at proofs. Here's my "API"...

PHP Code:

<?php
  $user 
$_GET['u'];
  if(!
$user){
    die();
  }
  function 
contains($val1$val2){
    if(
strpos($val1$val2) !== false){
      return 
true;
    }
    return 
false;
  }
  
$image_url null;
  
$image_full null;
  
$nickname null;
  
$username null;
  
$url "http://kik.com/u/" $user;
  
$data file_get_contents($url);
  
$delim "\r\n";
  
$line strtok($data$delim);
  
$name_next false;
  
$pic_next false;
  
$user_next false;
  while(
$line !== false) {
    
$line strtok($delim);
    if(
$user_next){
      
$username strip_tags(trim($line));
      
$user_next false;
    }
    if(
$name_next){
      
$nickname strip_tags(trim($line));
      
$name_next false;
    }
    if(
$pic_next){
      
preg_match('/<img(.*)src(.*)=(.*)"(.*)"/U'$line$result);
      
$image_url array_pop($result);
      
$image_full str_replace("thumb""orig"$image_url);
      
$pic_next false;
    }
    if(
contains($line"<dt>NAME:</dt>")){
      
$name_next true;
    }
    if(
contains($line"profile2")){
      
$pic_next true;
    }
    if(
contains($line"USERNAME:")){
      
$user_next true;
    }
  }
  
$array = array($username$nickname$image_url$image_full);
  
$json json_encode($array);
  echo(
$json);
?>


Tricxta 10-24-2014 10:22 PM

Quote:

Posted by Gunderak (Post 513401)
I am very good at proofs. Here's my "API"...

PHP Code:

bad uncommentedcode 


Nah you just found an open source API. Can't fool me, fool.

Gunderak 10-25-2014 02:53 AM

Quote:

Posted by Tricxta (Post 513471)
Nah you just found an open source API. Can't fool me, fool.

Sure sure, look on the internets and try finding my code.

Emera 10-25-2014 10:33 AM

API.

Gunderak 10-25-2014 11:33 AM

Quote:

Posted by Emera (Post 513600)
API.

Who invited you here?

Emera 10-25-2014 10:02 PM

Quote:

Posted by Gunderak (Post 513607)
Who invited you here?

you when you signed up to graalians and posted an open thread :) xxxxx

Tricxta 10-25-2014 11:10 PM

I don't like this thread anymore.

Gunderak 10-26-2014 02:26 AM

Quote:

Posted by Tricxta (Post 513707)
I don't like this thread anymore.

Good.
:)

Downsider 10-26-2014 03:57 AM

yo gunderak I hope thats not a picture of u cuz if it is thrn ur not good looking

Tricxta 10-26-2014 09:55 AM

Quote:

Posted by Downsider (Post 513732)
yo gunderak I hope thats not a picture of u cuz if it is thrn ur not good looking

It's ok, it was actually a pic of me.

hosler 10-26-2014 09:23 PM

Lame

Tricxta 10-27-2014 02:16 AM

Quote:

Posted by hosler (Post 513861)
Lame

Yep, no fun here...

Kendama 10-27-2014 04:37 AM

This thread was funny AF to read

Find me

Kendama 10-28-2014 02:43 AM

Excuse me why was my post deleted?

1) I said this thread was really funny to read
2) Then I asked if they could use this to bring my picture onto this thread?

Why was my on-topic and relevant post deleted?

Vivid 10-28-2014 12:58 PM

u should get mad and hurt urself :)
jk you little noob

hosler 10-28-2014 03:17 PM

Mods always know what's best for us

Vivid 10-28-2014 04:07 PM

talon is love talon is life

Gunderak 10-28-2014 10:37 PM

Shut up vivid.

Talon 10-29-2014 04:12 AM

Only meant to delete Downsider's ****posting, not everything between. My bad.

Vivid 10-29-2014 12:54 PM

Quote:

Posted by Gunderak (Post 514169)
Shut up vivid.

u foist.


All times are GMT. The time now is 08:38 PM.

Powered by vBulletin/Copyright ©2000 - 2025, vBulletin Solutions Inc.