A quick note:

It's better to say:

Спасибо за добрые слова.

But your sentence is still alright, just not that common