Hey John 👋 Not possible natively, but you can do it with javascript. You could save the comment count + page slug to the member's JSON. If they have 1+ comment then you can disable the form submission
It's not documented yet, but you can fetch the comments information using the memberstackDom library in the frontend. You can use the getPosts() method
Comments
4 comments
Hey John 👋 Not possible natively, but you can do it with javascript. You could save the comment count + page slug to the member's JSON. If they have 1+ comment then you can disable the form submission
https://rey.memberstack.com/ can help you write the code
Sweet, thanks Duncan!
Is there a way to export comment data through the API?
It's not documented yet, but you can fetch the comments information using the memberstackDom library in the frontend. You can use the getPosts() method
$memberstackDom.getPosts({channelKey: string
order?: "newest" | "oldest"
after?: string
limit?: number
})
Please sign in to leave a comment.