It comes as intermittent fasting becomes popular on social media.