This needs to be planned carefully. The idea is to sync comments from Hyvor Talk to WordPress so that users can have a local backup of the comments.
My current plan:
I think we'll need to use the Console API to fetch the comments.
Then, fetch the oldest comments starting from a timestamp (when the last sync ran).
Then insert them into the database wp_comments
Do this with a corn job / scheduled job in WP.
Each time you insert let's say 2,500 rows. So, all the comments are imported periodically.
(optionally) user can set up a webhook so that when a comment is updated, it can be updated on WordPress side.
This needs to be planned carefully. The idea is to sync comments from Hyvor Talk to WordPress so that users can have a local backup of the comments.
My current plan:
I think we'll need to use the Console API to fetch the comments. Then, fetch the oldest comments starting from a timestamp (when the last sync ran). Then insert them into the database
wp_comments
Do this with a corn job / scheduled job in WP. Each time you insert let's say 2,500 rows. So, all the comments are imported periodically. (optionally) user can set up a webhook so that when a comment is updated, it can be updated on WordPress side.Any other ideas welcome.