Bryant (bryant) wrote in lj_clients,

Birthday Scraping

I'm interested in getting a list of user X's friends with birthdays. The context is a web page, not a client per se. I can see a few ways to do this:

a) Get X's FOAF data, parse the friends, then get the FOAF data for each of them. Advantages: uses the bot interface, no need to log in as X. Disadvantages: lots of HTTP requests.
b) Scrape X's userinfo, parse out the friends, then scrape their userinfo. Advantages: no need to log in as X. Disadvantages: strictly inferior to method a.
c) Require X to enter her password, and use getfriends. Advantages: uses the client API, single HTTP request. Disadvantages: ew, requiring passwords.

No matter which method is used, there will be caching of data.

I am not so emotionally committed to this project that I will be offended if anyone says "gee, that project is a bad idea." Someone said "Oh, it would be neat if" and I got interested. I think if the three options above are the only possibilities, I'll probably just skip it. However, I wanted to ask before I punted.

  • 302: lj_dev

    In the interests of consolidating all LiveJournal development-related discussion, we're going to be closing down this community. The same…

  • Plain text to LJ

    I have an old blog from xanga that's in html/plain text and I want to move it over here. Which client would be the best to do this? I also want to…

  • ljKlient 0.2.0 Preview Release 1

    Today marks another milestone in the development of ljKlient — as the first preview of the 0.2 series is released.  Please go to the project…

  • Post a new comment


    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened