Question: who wrote the song thank you for being a friend
Answer: `` Thank You for Being a Friend '' is a song written by Andrew Gold , who recorded it for his third album , All This and Heaven Too .