She bought the shoes to join in her friend’s birthday party.
Grammatically, I admit there is nothing wrong but the tone and context leave doubts of what it really means.
I am guessing, she bought the shoes especially for going to her friend's party. If this is the meaning it intended, then that's not a good sentence veiwing from this angle. Sorry to disagree....