This is absolutely terrible advice for anyone who cares about their health. Yes, you might lose a few pounds on doing this, but it will mostly be water weight, NOT fat. Eating "as much fruit as you want" will probably put you in a caloric surplus as it won't satiate anyone used to eating full meals several times a day. You will have cravings, you will be hungry, your stomach is likely to feel terrible and you are one step closer to giving up on fat loss altogether.
If you genuinely want to lose weight and keep it off, send me a message and I'll help you in any way that I can.
Thank you so much for pointing it out. I will definitely msg you for help.