• Hi there!,
    I’m developing a project with wordpress and I want to access the WP Database by My Windows application as WordPress-Admin Panel so is it possible to develop an API for manipulating the WP Data from any other application.

    Waiting for your valuable reply.!

    Thanks in Advanced.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi akvlko,

    Sure. All you need are two things:

    1. The MySQL access.
    >> You need to have the access to the database used by wordpress.
    >> MySQL needs to be configured to allow external IP requests.

    2. Your application must be aware of the database schema of wordpress.
    >> This basically means you should know what you are doing while selecting, inserting or deleting anything from the wordpress database.

    However, be aware that your windows apllication cannot the wordpress PHP functions directly. So, you will have to write the code to achieve everything that wordpress does right now.

    Regards,
    Sterex

    However, be aware that your windows apllication cannot the wordpress PHP functions directly. So, you will have to write the code to achieve everything that wordpress does right now.

    Or write an API in PHP that sits on the server (a WP plugin perhaps) and can be accessed via GET and POST, etc., thus acting as a gateway between WordPress and the Windows app. You could then use WordPress code to some extent. Either way, though, you are talking about a lot of code. I’d be very paranoid about security while attempting something like this.

    Thread Starter akvlko

    (@akvlko)

    thanks a ton frnds !
    i’m sure that this info gonna help me for developing my windows app for wp.
    is der any plugin that i can use and will able to install while configuring the wp site into my windows app.

    waiting for your reply!
    thanks again for giving your time.

    is der any plugin that i can use and will able to install while configuring the wp site into my windows app.

    Not that I am aware of. Sorry.

    You can use JSON API. There is a plugin for this in the plugin repository and you may try to hack it for your own needs.

    As far as I know, the plugin accepts comments from remote apps, that’s what makes me think you can expand its functionality to suit your Windows App.

    I’ve managed to use the API to insert/edit post on WordPress – by using MetaWeblog through .NET

    However I’m unable to find a way to set Featured Image on the post. Can anyone please advise? Thank you

    You can definitely build different front end clients that interact with the WordPress API.

    I built a AMF php bridge between ActionScript and WordPress.

    All you really need to do is bootstrap wp_load.php to access most of the wordpress API. If you need write capabilities, you would need to bootstrap admin.php.

    XMLRPC is also another way to go.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Help Needs for API Development’ is closed to new replies.