Burping questions

Spec
A friend told me if bubs has fallen asleep finishing off a feed that they don't need to be burped. Is this true? 
I was always burping but it seemed to wake her up. But if I don't burp she wakes up in the middle of her sleep and farts. Is that because she wasn't burped?