pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
Res facta quae tamen fingi potuit ([personal profile] pauamma) wrote in [site community profile] dw_dev2022-03-19 05:55 am

Question thread #109

It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
fub: (Default)

[personal profile] fub 2022-03-20 11:29 am (UTC)(link)
I'm trying to set up cross-posting from my Wordpress instance to DW. I have a plugin that sort-of worked that I modified to work with LJ, which I'm trying to modify to work with DW. So my first order of business is to make a really small client that can call the getchallenge method.

In order to do that, I got myself a PHP XML-RPC library and posted a call to https://www.dreamwidth.org -- but the response is the homepage -- so apparently the XML-RPC handler is not on there?
A very basic question that I do not see answered in any doc that I could find: what is the target of the XML-RPC posts for DW?
fub: (Default)

[personal profile] fub 2022-03-20 11:52 am (UTC)(link)
Though getting an error 'Denied access to method (getchallenge)' is puzzling. What am I doing wrong when that happens?
alierak: (Default)

[personal profile] alierak 2022-03-20 05:30 pm (UTC)(link)
The methodName is LJ.XMLRPC.getchallenge, not getchallenge.
fub: (Default)

[personal profile] fub 2022-03-20 07:22 pm (UTC)(link)
Well, that fixed it. Thanks, I have become unstuck!

Image uploader in the post editor?

[personal profile] ulrith 2022-03-20 11:58 am (UTC)(link)
Hi!
I want to know is there any particular reason why DW image hosting has not been integrated into the post editor?
I would like to help with the implementation if it's not against an intention of the service management.
Thank you
Edited 2022-03-20 12:05 (UTC)