It’s sad to see if nobody comment on our post isn’t it? Thinking about it also already make me sad. Make me feel lonely. Maybe not everybody. Some of us not that weak. But sometime its feel good if we see some comment on our post; not just in our blog but also in social media. The good news is, if you are using WordPress for your site, we can add some comments automatically using ChatGPT after you published your post.
There’s multiple ways we can do to achieve this. I saw a plugin that create a “campaign” to create comments on existing post using ChatGPT. It means, it will send some post URLs to ChatGPT, it will read it and generate comments which later being automatically added to your site. You can specify users too. But what we want to do here is quite different. Forget about existing post. We want comments generated immediately after a post published. Not one but some. Not by one (dummy) user, but multiple users. If multiple user’s comments being processed maybe will put burden to our site. So maybe we could put some time interval between comments that being generated.
But note that, AI generation cost money. Since we going to use AI, means it will cost us money. But not to worry, it is really cheap; obviously depends on the AI model that we use. I’m using just good enough model for this.
I managed to achieved this with below steps:
- Create dummy users. The comment that will be posted, will show written by all these dummy users. We could do this via custom code. We could also import users using csv file using plugins.
- Add or define some persona and background story to those users. This will give some flavor to their comments.
- Get your AI’s API key. In this case we will use ChatGPT. Get it’s API key in advance. We can get this from OpenAI site.
- Paste the custom code and snippet I’m going to provide you below. Note that the code generated by ChatGPT. Please use at your own risk.