You have to be facebook friends with the person. Then click on their picture in the row of pictures at the bottom of the screen. When you do so you'll be given the option to visit their court. If they are online at the same time, they'll receive an invitation to your court. This should be done every day with all your friends to garner the most resources possible.