Helping a friend win a level is easy - you just need to be on their friend list! The game randomly selects which friend appears during their level, so you can’t choose to help someone directly. But don’t worry; sooner or later, your name will pop up, and they’ll get 3 extra cards thanks to you!
Want to learn more about the Cards From Friends feature? Check out this article.