ari_linn: (warrior - normal)
Ари Линн ([personal profile] ari_linn) wrote in [site community profile] dw_dev_training2016-12-23 09:43 pm
Entry tags:

How to get comments through the API?

How do I get post comments through the API? I can get posts with LJ.XMLRPC.getevents, and in the original LJ there's a method called LJ.XMLRPC.getcomments, but when I tried it on DW API, I got "Client error: Unknown method". Not nice.
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2016-12-24 05:52 am (UTC)(link)
Hiya -- this community is for people developing on Dreamwidth to ask questions about the code and such.

Anyway, the answer to your question is that getcomments came about after we forked, so that method does not exist on Dreamwidth. We still support the original method, however:

https://www.dreamwidth.org/export_comments

You can read more about it here: https://dw-dev.dreamwidth.org/154823.html?thread=1257927