|itemID -> URL
||[Oct. 25th, 2006|09:40 pm]
LiveJournal Client Discussions
Please advice on how to get event URL if itemID is got.|
(jitemid * 256) + anum
You should have both of those bits of info.
I'd known that formula. The thing is that I really hasn't anum and can't obtain it :( Are there really no ways to get URL without anum?
You should be able to get it. How are you fetching events?
Initial conditions is that I have itemID's from the external program. I want to obtain corresponding URL's for them.getevents
method of flat protocol is seemed not to return anum value. I could't imagine another way to obtain any specific information about concrete event.
anum isn’t documented in
postevent, but at least there it’s returned, as well as the full URL — I guess this isn’t the case in
Hm, you're right. "event_n_url" is returned =) I'm starting to hate all this undocumented features =)
Come on, it wouldn’t be fun without challenge like this :D
Oh yes =) I've got an idea to make some kind of flat "console" to explore this protocol. Documentation as I see is totally outdated =)
That would be pretty cool :)
Alternately, you could switch to xmlrpc, which is at least better documented.