Log in

No account? Create an account
URLs to events? - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

URLs to events? [Mar. 31st, 2003|11:05 pm]
LiveJournal Client Discussions


Unless I'm missing something (and that's entirely possible) nothing in the available client methods gives you a URL to a specific event. Getevents and postevent give you an itemid, but that's not related to the URL of the event.

So, how do I get at that?

[User Picture]From: thelovebug
2003-03-31 11:29 pm (UTC)
The client protocol also returns a value called anum.

To get the URL public itemid do this: (itemid * 256) + anum

That value can then be used in the URL for the entry.
(Reply) (Thread)
[User Picture]From: endquote
2003-04-01 01:19 am (UTC)
Of course.. why didn't I think of that.

Seems to work.. thanks!
(Reply) (Parent) (Thread)