Using the rest api to retrieve post information
-
Im trying to get my site’s posts information throught the rest API using the following url:
https://cerratodavid.wordpress.com/wp-json/wp/v2/posts
But I’m getting a message that the site is not being found. How can i fix this?
WP.com: Yes
Jetpack: No
Correct account: YesThe blog I need help with is: (visible only to logged in users)
-
Hey there,
Thanks for reaching out.
It sounds like you’re trying to sync a free WordPress.com site with a self-hosted WordPress.com site – is that correct?
If yes, to connect via /wp-json/wp/v2/posts or similar, a plugin would be needed and/or the business plan.
I’m really curious to know more about the project you’re embarking on – would you be willing to tell me more?
Additionally, this may also be of interest: https://en.support.wordpress.com/webhooks/
I hope this helps.
- The topic ‘Using the rest api to retrieve post information’ is closed to new replies.