jducoeur: (Default)
jducoeur ([personal profile] jducoeur) wrote2008-09-15 12:48 pm
Entry tags:

Is there a *good* way to get community data?

Technical question for those who know LJ better than I: is there an appropriate way for outside programs to get at your communities? There are well-established pages for fetching flists and interests, but I'm not finding anything comparable for communities. This is stuff I'd like to pull into CommYou -- you should be able to hold a conversation "in" one of your communities -- but I'm not finding a way to fetch the list short of scraping your profile page...

ETA: Okay, found it. What I need is to add the "comm=1" flag to the fdata.bml call. This is documented, but not on the page where I had originally been looking...

[identity profile] crschmidt.livejournal.com 2008-09-15 05:13 pm (UTC)(link)
It's not clear what you want to get: Community interests should be easy, and the communities that someone is in should be available through the Friends List APIs with a special flag that lists what type of account it is ("[scalar](required) The type of journal the friend item is. This value can be one of 'community', 'syndicated', 'news', 'shared', or identity (I), depending on the journaltype of the account in question. The account is a normal personal account when this value is not sent.").

Can you be more specific?