Ари Линн (
ari_linn) wrote in
dw_dev_training2016-12-23 09:43 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
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.
no subject
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