android - WP REST API V2 wp/v2/media problems -
i working on android app practice, gets posts , featured images , displays them in listview. problem is, , started happening few posts ago, create new post, set featured image , publish it. appears in wp/v2/posts, featured image doesn't appear in wp/v2/media. under _links/wp:featuredmedia there link image in wp/v2/media, when press it, says rest_forbidden. , app can't access featured images of posts.
your featured image must related published post (or you'll need tweak media post_status in database). more informations here : https://github.com/wp-api/wp-api/issues/2596
Comments
Post a Comment