WordPress.org

Ready to get started?Download WordPress

Forums

Extended API
[resolved] Extended API (XML RPC) (4 posts)

  1. TrevorNet
    Member
    Posted 3 years ago #

    In a word - HOW?

    Every time I try to make a remote call, I get the same error:
    faultCode -32601 faultString server error. requested method [indert method name] does not exist.

    I grabbed code off of a tutorial site and tried to go from there:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    This seems like a great resource to have.

    http://wordpress.org/extend/plugins/extended-xml-rpc-api/

  2. TrevorNet
    Member
    Posted 3 years ago #

    http://wordpress.pastebin.com/kZsKYKQL

    For the lack of response and documentation, it looks like I will be creating my own XML-RPC: Add user, edit user, user information, blog,... :(

  3. cce_
    Member
    Posted 3 years ago #

    I had some trouble getting it working too, so I ended up hacking the plugin source in a couple places (grabbing the $params and using call_user_function_array).

    Take a look at my slightly-forked version in https://gist.github.com/755930

    As for calling the API, my Python XML-RPC client calls callWpMethod from where it seems to be exported, in the "wpext" namespace (like "wp." or "metaWeblog."), so in Python that's something like server.wpext.callWpMethod(user, password, 'get_post_custom', [5067]).

    Hope this helps!

  4. michaelgrosser
    Member
    Plugin Author

    Posted 3 years ago #

    Hi All,
    Sorry, WordPress doesn't email me when these things are posted, so I never saw these due to being swamped with work over the past few months. I've got fixes for all of these problems that I'll be committing to WordPress shortly.

    Please feel free to contact me directly if you need any help or assistance. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic