?

Log in

No account? Create an account
Getting friends for an arbitrary user - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Getting friends for an arbitrary user [Jun. 27th, 2002|04:32 pm]
LiveJournal Client Discussions
lj_clients
[catamorphism]
Sorry if this is an obvious question -- I've read the protocol documentation, and it doesn't seem to be answered there. I want to write a program to generate a user's friends graph: e.g., a display that features nodes for each user that's connected to a given user by some degree of friendship, and edges between users who are friends. But there doesn't seem to be a way to get an arbitrary user's friends list using the "getfriends" mode -- you need to supply a username and password. Is there a way to do this without supplying a password?
linkReply

Comments:
From: evan
2002-06-27 05:22 pm (UTC)
Man, we need a FAQ here or something... :)

We've done a bunch of graphs like these (and LiveJournal used to generate them) but it usually turns out that there are too many nodes and connections to generate a nice image.

Look at the memories of lj_nifty for some code that does this.
(Reply) (Thread)