When sharing food with dogs, it is important to keep a few things in mind:
If your dog takes medication, has any medical conditions (e.g. diabetes), or has allergies, you should ask your veterinarian before feeding your dog anything.
Any foods dogs are eating for the first time should be introduced in small quantities. Monitor them after they eat it, and if they experience any negative symptoms, don't feed it to them again.
Any foods outside of your dog's normal diet should make up less than 10% of their daily food intake. For example, if your dog eats 5 cups of food per day, they shouldn't eat more than ½ cup of treats (e.g. ¼ cup of blueberries, and a couple of baby carrots). Any foods fed to dogs in large amounts can lead to digestive upset, so moderation is truly key.
Any foods shared with dogs should be cut into bite-size pieces, with all choking hazards removed (e.g. pits, peels, seeds). These choking hazards can even become obstructed in your dogs gastrointestinal tract. Never share these things with dogs, even if they are perfectly normal for humans to eat.
Dogs shouldn't eat foods with added salt, oils, sugar, seasonings, sauces, or any other variations. These additions, while delicious, often contain ingredients that are harmful, if not toxic to dogs, such as garlic, onions, or even xylitol. Dogs should not eat foods that were prepared with these ingredients, either.
Dogs shouldn't eat foods that are high in fat, even if they are generally considered healthy for us. Dogs aren't built to eat large amounts of fat and these foods can cause dogs to get gastrointestinal upset and even pancreatitis, an inflammation of the pancreas which can range from mild to severe. Symptoms are usually vomiting, lethargy, diarrhea, and a loss of appetite. This can be an emergency situation and requires immediate veterinary treatment.
Dogs shouldn't eat processed foods such as baked foods, boxed snacks, fast food, etc. Aside from being unhealthy and high in fat, they often conceal ingredients that may be troublesome or even toxic for dogs, such as a sweetener called xylitol. Be sure to thoroughly read the ingredients of any processed foods you share with your dog, and if you decide to proceed, do so with caution.
Dogs shouldn't eat canned fruits or vegetables. Many canned versions of foods contain high amounts of added ingredients, such as sugar and salt, which can be harmful to dogs (and humans). Choose fresh or even frozen versions instead.
Recent research suggests that several foods, such as peas, legumes, and potatoes, while not poisonous, may not be appropriate to be fed to dogs regularly, due to their correlation with the development of canine dilated cardiomyopathy (DCM). Read more about the DCM warning at FDA.gov.