The referral badge requires "Successfully referred 5 users": are you sure the successful part of the requirement is fulfilled? Did they register?
The blogger badge, how was your blog posted? Is a developer blog? Is it available on the community blog page? On this page you can submit it: after submission, review and publication you can get the badge https://developers.mendix.com/community-blog/
In follow up on the answer from Wieke, you can find details about the badges on the following page: https://developer.mendixcloud.com/link/badges.