Log in

No account? Create an account
LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

XML and Friend's Birthdays [May. 12th, 2004|10:42 am]
LiveJournal Client Discussions


[mood |pensivepensive]

I'm finally porting over mochajournal to use the XMLRPC protocol. However, during the process, I noticed that the getfriends protocol in the flat version allows you to download birthdays, but not the same protocol in XML. So, right now if I port over this protocol, I lose the funtionality of telling my MochaJournal users when one of their 'friends' has a birthday.

Is there a reason for this? Is it something that was overlooked? Is there a plan to put birtdays of your friends in the 'getfriends' XML protocol?

I would like to see that in there, so I can keep that functionality in my client and finally stick to using XML protocol instead of flat. (BTW, I really like XMLRPC... easier to deal with... happy LJ supports it).

[User Picture]From: xb95
2004-05-12 10:54 pm (UTC)
Have you tried it? Does it really not return birthdays? Or does the documentation just not mention it?
(Reply) (Thread)
[User Picture]From: krolain
2004-05-13 09:46 am (UTC)

Well, I haven't tried it, just based my question on the documentation. I'll give it a shot and see if the protocol does return it. I heard that some of the documentation is behind.

Oy, sometimes I wonder why I don't get the simplest ideas *chuckles*
(Reply) (Parent) (Thread)
[User Picture]From: krolain
2004-05-23 09:40 pm (UTC)
Well, it looks like after I did a lot of searching and hair pulling, LJ does send birthdays through XML-RPC. Unfortunately, the documents do not mention how to do this. But, after comparing the flat and XML-RPC protocols, I figured out if I send a includebdays member with an integer value of 1, it will return the birthdays in the XML-RPC response.

Oy... I guess if it'd all be handed to us, it wouldn't be as fun to work on it *chuckles and grumbles* Only a software engineer would feel pleasure after spending tons of hours just to figure out a simple thing *chuckles*
(Reply) (Parent) (Thread)