Even if you've deleted you posts or account, these might be soft deletions. So you should still apply under GDPR.
Here's a template letter of how to do so. You must request your data or the deletion of you data using the correct legal framework (quoting the correct legislation) and these templates make this easy. Plus they cover more types of data than just your posts and comments!