Does the influencer have to label the post as an ad if the food was free?
Yes. A hosted dinner or treatment counts as compensation, so the post must be labeled as an ad, even if no money changed hands. The easiest way is the platform's own paid partnership label.
How to label ads correctly