Listing API
To build a mobile app for your Listeo, MyListing, or Listing Pro website, install our free MStore API and some plugins to your admin site so that the app can sync with your data:
1. Website Integration
- Install the MStore API on your website. This plugin is required for supporting RestAPI to connect the app, support Payment, Login, and some features.
- WP REST API – Pure Taxonomies: support to get Custom Taxonomies.
- WP REST API Controller: support to get Custom Post Type.
- JSON API: allow you to retrieve and manipulate WordPress content using HTTP requests.
- Better REST API Featured Images
Go to Tools/REST API Controller
and enable these settings:
- For Post Types
- Listeo: listing.
- Listing Pro: listing, lp-reviews.
- My Listing: job_listing, case27_listing_type.
- For Taxonomies
- Listeo: listing_category, event_category, service_category, rental_category, listing_feature, region.
- Listing Pro: listing-category, features, list-tags, location.
- My Listing: job_listing_category, region.
2. Common Issues
If you get ‘failed’ result when Running TroubleShoot on FluxBuilder with your Listeo, MyListing, or ListingPro website, follow the solution below:
The default Woocommerce supports the Rest API, but we need to follow this step to enable the API. This guide is based on the fresh WordPress installing from http://demo.mstore.io
Permalink URL setting
WordPress permalinks must be enabled at Settings > Permalinks > Go to Common Settings, change the URL to Post name, this is required for the setting, otherwise, some images could not be uploaded.
Example: config for the fluxstore.inspireui.com domain:
Registration
Enable the option Anyone can register.
That’s all 😊