?

Log in

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

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

[editevents] [Feb. 8th, 2003|12:17 am]
LiveJournal Client Discussions

lj_clients

[thelovebug]
[mood |frustratedfrustrated]
[music |Matt Redman - Hallelujah Song]

Can someone please confirm for me which keys are REQUIRED in the editevent protocol mode.

Can I also make the assumption that any OPTIONAL key will retain its value if not specified in the editevent mode.

Basically, I'm posting an entry using postevent, and then doing an editevent with the itemid as (itemid * 256) + anum returned from the postevent mode.

I'm sending:
mode=editevent&user=test&hpassword=[snip]&itemid=597219&event=blaharse&subject=automood+%26+backdate+test&security=public&usejournal=&prop_opt_backdated=0
This is the error I get:
errmsg
Client error: Can't edit post from requested journal
success
FAIL
Any thoughts?



Update: Thanks for the help on this one, I've worked out that the itemid required is the raw one generated by postevent before applying anum. Oh, and time and date appear to be required for editevent, contrary to the documentation.
linkReply

Comments:
[User Picture]From: thelovebug
2003-02-07 05:06 pm (UTC)
Done.
(Reply) (Parent) (Thread)