Jun. 6th, 2004

andrewducker: (Default)
This week's project was to get started on a program that would let me retrieve friends group information from the LJ servers and display it in the way that I want to (wait and see).

Having not doen any stuff with winsock in a couple of years (and nothing intensive then) and never having dealt with HTTP in the slightest, this was a bit of a challenge.  However I've now got it posting the following (only with my password/username) and getting back a positive response. 

POST /interface/flat HTTP/1.0
Host: www.livejournal.com
Content-type: application/x-www-form-urlencoded
Content-length: 34

mode=login&user=test&password=test

Would have taken me far, far less time, only I started off trying to use Microsoft's Internet control, which theoretically would make things much simpler, unless of course you wanted to do things different to how Microsoft wanted you to.....

Now I've got stage 1 working I want to switch across to using encrypted passwords and then the XML interface.  And _then_ wrap it all up in a nice DLL that I can give away to anyone that wants to do their own front end.
andrewducker: (Default)
Went walking Tara with Hugh and Ed earlier.  Ed took a few photos:



andrewducker: (Default)
This is her 18 months ago.  Possibly the cutest thing ever.
big picture )

May 2026

S M T W T F S
      1 2
3 45 6789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 7th, 2026 07:35 am
Powered by Dreamwidth Studios