I’ve found the problem, why it’s not working with the categories.
I don’t know why, but when creating a post over the API, the post is published before the category is correctly set.
Now, I’m creating drafts (already with correct category). With a second PUT-Request I set the status to “publish” and publish my posts. Now the category is correctly set and only the expected posts are published to Facebook.
Related Posts:
- Multisite functions to communicate with individual site functions
- REST-API: extend media-endpoint
- Keep user’s privileges on accessing contents in JSON response
- How to modify WCMP Rest API response?
- wp_remote_get() returns 403 while file_get_contents() does not
- Limit post creation by role
- Socialite WP plugin, unable to obtain API keys from FB
- Getting a Page via its post-name using WP REST API v2 and Postman
- Custom API plugin to execute 3rd party API to retrieve data
- Escape commas in REST API
- Do i need to use a plugin for third party api integration?
- is it possible to fetch data from a remote api while admin is writing a new post?
- WordPress output data to another website and pull data
- How to get data from a private API and add it to wordpress pages
- wp rest api (v2) filter not working (404 error – rest_no_route)
- How can I send api calls from my plugin?
- Is it possible to create post in wordpress using postman?
- WP Rest API: details of latest post including featured media url in one request?
- I Want to Get A Plugin Version Number Dynamically
- run silex or slim with wordpress
- Get a list of all WordPress.org Plugins?
- [Plugin WPML] : How to create a translation of a post using the WPML API?
- Get Latest Plugin Version from WP API
- Facebook comments box on front page
- Installing Facebook comment plug in without loosing all previous wordpress comments?
- Can’t use /wp-json/wp/v2/plugins API endpoint even as administrator
- Send Data to WordPress from kiosk
- Store post in raw markdown format, no html?
- Does the WordPress API have Modal Dialogs
- How to check if WordPress is updating plugins?
- Custom routing for plugins
- Facebook Like Button On Individual Comments
- Allow Facebook to preview posts before published
- Get Plugin Information from Multiple Sites Externally
- WordPress Social Login > Post to a users Facebook wall
- Best way to hook a custom url?
- Facebook plugin shows existing comments
- How to Add custom subtitle as og:title to Facebook Open Graph Meta Data in WordPress Themes?
- How do I create a custom add media button modal?
- Integrate BuddyPress & Facebook
- How to use JSON data from URL into table on my wordpress website
- Ability to make API calls out of WordPress as well as executing SQL?
- Ajax with plugins returns 0
- Restrict access to content in conjunction with facebook connect & google login
- Integrate Facebook comments with native comments
- WordPress api call using wp-ajax returns error 400
- Posting from WordPress to Facebook [closed]
- Plugin is a widget, but I want to call it in the head, can I?
- Prevent plugin from intruding on wp-json posts api
- Shortcode does not expand in Facebook like
- How to create WordPress custom end point with multiple parameters?
- How to get theme’s info from wordpress.org/themes using api.wordpress.org?
- How to Include Fields in Query String When Making Request of WordPress.org Plugin API?
- how do i change my website facebook login button to another text immediately user login? [closed]
- How to get a list of all the available plugins names
- How can ι create my own (custom) WordPress table/list?
- Can i use init hook for API purpose?
- HTTPS connection with wampserver for “Facebook for WordPress” plugin
- Change the Simple Facebook Connect popup position
- How to get Facebook comment plugin in blog? [closed]
- How do I display PHP file contents on front end of WordPress?
- Push Contact form 7 variable to front end after submission
- How to send SMS notification to customer after click on submit?
- How to send the featured image of a post to an API?
- Ability to change homepage on WordPress using API
- One WooCommerce Store to multi distributor sites
- How to use third-party SendGrid Email Validation API in Gravity Forms?
- Custom REST API POST Endpoint Not Working, 404 Error
- add tags to wordpress post using REST API
- Hide response returned from WordPress REST API call
- One time call to external API in widget
- How achive serving multiple concurrent Ajax / Rest calls in plugin?
- Modifying server’s response to API endpoint
- Create API for registering user on wordpress site with 3rd party site
- Different function call depending on shortcode?
- How to use information from the database in the front-end?
- Mailpoet Sign up on Custom registration form won’t work
- Fetching users data from REST API
- Consume legacy rest api dependent upon WP API plugin
- API page return Header 500 but Work
- In the WordPress API is there a way to set the width of the post/page container
- what is the best way to create a premium plugin while also protecting your code
- How to do rest APi with wordpress
- API Functions to Register and Show WordPress List Tables
- How to display single arbitrary facebook post with a shortcode?
- Facebook Feed Grabber Cache Relative to Dev Machine, not Server Install
- Extend WordPress REST API with Scheme Pro Plugin
- Looking for Plugin that displays Facebook group’s photos [closed]
- Facebook comment into my blog
- Serious social interaction [closed]
- wordpress Ajax success doesn’t return the value
- My wp_update_nav_menu action is firing twice
- WordPress REST API Visual Composer Shortcodes
- Am having issues intergrating this api into my wordpress site, any help please?
- Social login authentication via wordpress rest api
- WooCommerce REST API aborts connection [closed]
- How to write a plugin that “listens” every time, an edit occurs?
- move setting data from wordpress api to codestar freamwork
- Block Root REST API Route using custom &/or iThemes
- Accessing Correct Database to Create REST API Endpoint