I'm using the wordpress.com API to access a blog's content:
It works great, I can access all the text content I need, however, I cannot access the /media endpoint to get the featured_image associated with each page. The media endpoint gives me a 401 error.
I can access that endpoint using the developers console: https://developer.wordpress.com/docs/api/console/
Because I'm signed in as the owner of the site.
My question is, how do I properly retrieve the featured images? It seems crazy that I'd need to authenticate to gain access to the URL for each image which is publicly available anyways...
If it is the case that I need to auth, how do you do that with wordpress.com? I don't know much about authentication, so even just pointers in the right direction would be great! Thanks.