Chihuahuas are the smallest of all dog breeds, and belong to the Toy Group. While little is known about the origin and history of the modern day Chihuahua, in 1850, Americans began acquiring these small dogs from the state of Chihuahua in Mexico (hence the name).
This extremely small and super tough dog breed is known to be "clannish" meaning that they often prefer being around other Chihuahuas as opposed to other dog breeds. For socialization purposes, and as a professional dog trainer, I don't recommend that you only allow your Chihuahua to play with and be around other Chihuahuas.
Due to their size, these dogs often are treated with "small dog syndrome" which means that people have the tendency to coddle them and pick them up. My best advice to avoid any problem behaviors from your Chihuahua would be to treat them like a large dog. Create the same boundaries you would for a Rottweiler.
Imagine if your small dog was fifty pounds heavier and ten times the size. Would the behavior they are displaying (jumping, inviting themselves onto furniture, snapping at strangers or guests, etc.) be acceptable? Chihuahuas are desirable as family dogs because of their size and loyalty. They are affectionate and often easy to care for, but socialization and exercise is an absolute requirement if you want your pup to have a happy and healthy life with your family.