Input please....

Status
Not open for further replies.

bam bam

New member
Oct 9, 2007
962
11
0
So, has anyone thought of automating the "Send To" function on the Stumbleupon Toolbar?

I'm no where near good enough to do this myself.
I took a look at what gets sent when you use the function.

Here's what i got:

HTML:
http://www.stumbleupon.com/referral.php?username=2614934

POST /referral.php?username=2614934 HTTP/1.1
Host: www.stumbleupon.com
User-Agent: mozbar 3.17 xpi BETA-2007-12-12-a
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 181
Cookie: stumble_user=xxxxx; stumble_pass=xxxxx; version=mozbar 3.17 xpi BETA-2007-12-12-a; STUMBLEUPON=LXWULLS10.10.15.29CKKWL; PHPSESSID=o47vvpd544tmdkh9t6kvfdjp3l2; cmf_i=512761332476a4030be5e89.25231883; cmf_spr=uggc%3A%2F%2Fwnjnylsr.qrivnagneg.pbz%2F; cmf_sp=http%3A%2F%2Fwww.stumbleupon.com%2Fnewurl.php; __utma=189632489.1985017941.1198145592.1198145592.1198145592.1; __utmb=189632489; __utmc=189632489; __utmz=189632489.1198145592.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmv=189632489.ga_chromatin%3Adaeeccaaa
X-SU-Version: mozbar 3.17 xpi BETA-2007-12-12-a
X-SU-Username: xxxxx
X-SU-Password: xxxxx
Pragma: no-cache
Cache-Control: no-cache
url=http%3A%2F%2Fwww.l33tvideos.com%2F&friend=amateofmine&note=Test%20Test&version=mozbar%203.17%20xpi%20BETA-2007-12-12-a&username=xxxxx&password=xxxxx
HTTP/1.x 200 OK
Proxy-Connection: Keep-Alive
Connection: Keep-Alive
Transfer-Encoding: chunked
Via: 1.1 AHLDRSISA1
Date: Thu, 20 Dec 2007 11:01:11 GMT
Content-Type: text/plain; charset=iso-8859-1
Server: Apache/2.0.55 (Ubuntu) PHP/5.1.2
Vary: Accept-Encoding
X-Powered-By: PHP/5.1.2
Keep-Alive: timeout=15, max=100
----------------------------------------------------------
http://www.stumbleupon.com/iconpics/2729804.jpg

GET /iconpics/2729804.jpg HTTP/1.1
Host: www.stumbleupon.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Cookie: STUMBLEUPON=LXWULLS10.10.15.29CKKWL; PHPSESSID=o47vvpd544tmdkh9t6kvfdjp3l2; cmf_i=512761332476a4030be5e89.25231883; cmf_spr=uggc%3A%2F%2Fwnjnylsr.qrivnagneg.pbz%2F; cmf_sp=http%3A%2F%2Fwww.stumbleupon.com%2Fnewurl.php; __utma=189632489.1985017941.1198145592.1198145592.1198145592.1; __utmb=189632489; __utmc=189632489; __utmz=189632489.1198145592.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmv=189632489.ga_chromatin%3Adaeeccaaa
X-SU-Version: mozbar 3.17 xpi BETA-2007-12-12-a

HTTP/1.x 404 Not Found
Proxy-Connection: Keep-Alive
Connection: Keep-Alive
Content-Length: 11528
Via: 1.1 AHLDRSISA1
Date: Thu, 20 Dec 2007 11:01:11 GMT
Content-Type: text/html; charset=iso-8859-1
Etag: "1033e8ec1-2d08-441b4de292600"
Server: Apache/2.0.59 (CentOS)
Vary: Host,Accept-Encoding
Last-Modified: Thu, 20 Dec 2007 10:03:04 GMT
Accept-Ranges: bytes
Keep-Alive: timeout=15, max=100
----------------------------------------------------------
Anyone got any ideas?

(I've modified the codes slightly and removed the MD Hashes. Just incase someone wanted to fuck me over)

:anon.sml:
 


curl can do all that shit. It's not that hard. Have a look at the PHP: CURL - Manual. You'll first have to write a curl script to login so you can get the correct cookies to send but it should be doable.
 
I had a feeling it would have to be done in CURL.

It's gonna have to wait until after christmas in that case.

Cheers dude.
 
Status
Not open for further replies.