catness: (Default)
Cat Gray ([personal profile] catness) wrote in [site community profile] dw_dev2010-03-03 02:32 pm
Entry tags:

API question (friends groups)

Hello!

I hope this is the right place to ask - is it possible to get custom friends groups (posting filters) through DW XML-RPC protocol? I'm using LJ.XMLRPC.login, everything works except for friendgroups which returns an empty list. (It's my own client I'm writing, but I've also checked with LogJam, which is using flat interface, and it doesn't get friends groups either).

Thank you!

[edit: answered! thanks for the fast answer :) ]
kareila: (Default)

[personal profile] kareila 2010-03-03 01:17 pm (UTC)(link)
This question gets asked periodically! The most recent previous discussion is here: http://dw-dev.dreamwidth.org/27026.html

Short version: yes, we know it's broken, and we would love for someone to fix it, but we don't want to do it the same way LJ does, because of the watch/trust split.
foxfirefey: Fox stealing an egg. (mischief)

[personal profile] foxfirefey 2010-03-03 09:14 pm (UTC)(link)
Question: Since you're writing your own client, though, I think adding new XML-RPC functions for those things should work for you, right?
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2010-03-03 10:14 pm (UTC)(link)
And to second this, we want to add these functions, just haven't had much of a call to do so.

If you're working on a client though, I'd be happy to work on the API methods for you.
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2010-03-04 05:56 am (UTC)(link)
Oooh, that looks neat.
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2010-03-04 06:11 am (UTC)(link)
Awesome. :)

Well, tell me what you need, and I'll get it done. I guess you just want the getfriendgroups mode, but gettrustgroups?

Also, your client will have to be 64 bit capable to handle the masks that DW returns.