Answer the question
In order to leave comments, you need to log in
How to import posts from the VKontakte community into WordPress?
Dear friends! Please help with the issue of importing posts from your VKontakte group to your separate WordPress site. Thank you!
Answer the question
In order to leave comments, you need to log in
I have not worked with WP. But I can point you in the right direction.
There probably is a database where the site stores articles. Through wall get, you get a portion of the records, and enter them into the WP database.
Maybe there is an API in the WP admin.
1. Connect the SDK to work with the VK API
2. Connect to the VK API, pull the array of posts from the wall 3. Loop through the array, use wp_insert_post()
at each iteration, map the values from the API response and the $postarr array by hand.
4. Already inside the WP in the admin panel, we go through, add taxonomies, if necessary, etc.
5. Profit.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question