WordPress.org

Ready to get started?Download WordPress

Forums

Extended API
[resolved] objective c (2 posts)

  1. paperboydavy
    Member
    Posted 1 year ago #

    I am trying to use the Extended API for custom calls from an iOS app.
    I am having trouble formating the parameters. Could you give an xml example of how the array should be formatted. Do I use key-value pairs, or simply put the values in the position of the parameter in the list.

    Or could I use a dictionary, formatted as a <struct> ?

    thanks

    Davy

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

  2. michaelgrosser
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Davy,
    Unfortunately I don't know enough Objective-C to provide you concrete help, but I did see there's a library you could try to use to work with XML-RPC in Objective-C:
    https://github.com/eczarny/xmlrpc

    Here's one specific for WordPress:
    https://github.com/davestitz/XMLRPC-Starter-Kit-for-iOS-Wordpress

    The calls to the methods exposed by my extension should be formatted similarly to any other XML-RPC call. You would pass the WordPress function you want to use along with the parameters you need and you should be good to go.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic