rfrancis: (Default)
R. Francis Smith ([personal profile] rfrancis) wrote in [site community profile] dw_dev2009-05-05 10:48 pm
Entry tags:

new methods replacing friends methods in interface/flat?

Heya folks,

I've got a social posting script (for aggregating other stuff into an LJ post, historically) that I was noodling with making it work with DW. (First step: throw out the ljrb library for Ruby, which hardcodes the Livejournal URL in requests. Sigh. But I digress.)

While noodling, I tried, as an example, the "getfriends" mode on the interface/flat API, and lo and behold, it told me I was friendless. Cheeky. But upon second thought, logical, since DW did away with the friends thing in favor of access and subscriptions. However... I have no clue how to get to that information, if indeed I even can, through said API.

In summary: any clues?

Thanks,

R
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2009-05-06 07:28 am (UTC)(link)
Disagree.

I think that clients are using getfriends in various ways: show me who I trust and show me who I read, and I could see arguments going either way for returning either set. (Or returning the union! Or intersection! Augh!)

It really needs to be an entirely new protocol mode. getedges, and then it can return all sorts of edges! Who you ban, who you watch, who you trust, etc etc etc.

But anyway, to the original poster: there's no way to get this information yet. It will be implemented. I'm still debating whether or not we want to try to standardize on Atom or something (if it can even support all of the protocol modes we'd need), or continue expanding the LJ-centric XML-RPC/Flat protocol modes...
fub: (Default)

[personal profile] fub 2009-05-09 07:03 am (UTC)(link)
You have my vote for expanding the LJ flat protocol mode.

I'm currently building my own LJ client (there's no client on Linux/Gnome that has a GUI and is actively maintained...). I use the flat protocol to get everything done. I would love to support the DW extensions.