To connect a WordPress blog to your application, you must install the Apps for WordPress plugin beforehand.
The Apps for WordPress plugin is an extension of JSON API plugin, which is used a lot by the WordPress community. we adopted it to provide secure exchange between your app and your blog, as well as to provide more flexibility in content synchronisation. It should be noted that both plugins are compatible: if you already use JSON API for another service, it will stay compatible with the Apps plugin.
You can check up the Apps plugin presentation in the WordPress plugin directory : http://wordpress.org/extend/plugins/apolloapps/
1. Installing the plugin
Go to the administration interface of your WordPress blog. This interface is accessible via an URL like http://www.votreblog.com/wp-admin.
Register with your administrator password.
In the side menu, click on "Plugins", then "Add new".
Enter "My Apps" in the search field, then launch the search.
Identify the Apps plugin in the search results (there should be the only one, as on the following screenshot).
Click "Install Now", then confirm that you want to begin the installation.
The installation is in process. Once it's finished, click on the link "Activate plugin".
2. How to get your Apps Key
The Apps plugin is now installed on your WordPress.
Now you need to get the Apps Key that you must enter in your WordPress backoffice.
In the side menu, click on "Settings", then "My Apps Api".
The Apps Key is a string of figures, that appears in bold on the configuration page of the Apps plugin. You will easily identify it.
3. Add a WordPress section in your Apps backoffice
Go to your Apps back office, menu Content > Add a section, tab Categories > Articles.
Select a the source "WordPress" on the list.
Name the section, then in the settings, enter your website URL as well as your Apps API Keythat you got in the previous step.
Click on the "Add" button.
Here you are! Your WordPress source is now connected to your application.
4. Your Apps plugin options for WordPress
On the configuration page of the Apps for WordPress plugin (menu "Settings > Apollo Apps Api" in your WordPress backoffice) you will find some options that you can activate or deactivate, if you wish so.
You can disable comments to your WordPressblog directly from your application. We don't recomment to do this, because it can be frustrating for your readers. To disable comments via the Apps for WordPress plugin, uncheck the box and click on save.
NB : By default, this option is activated at the moment of plugin installation.
If you wish, you can activate securing exchanges between your application and your WordPress blog: then only your Apps servers could communicate with the Apps for WordPress plugin. To activate this option, check the appropriate box and save results.
NB : By default, this option is deactivated at the moment of plugin installation.
5. Alternative (advanced) installation method
If you can not follow the procedure described above, you can install the Apps for WordPress plugin in the same manner as any other WordPress plugin.
To do this, dowload the plugin zip file from the WordPress plugin directory and decompress it in the "wp-content/plugins" folder at the bottom of your blog by using your FTP client.
Once the plugin is installed, don't forget to activate it in your WordPress backoffice.