Shooting kids and pets are quite similar. Drop down to their level, play with them even a little to get their attention to something other than the camera. Rattle keys or scrunch wrinkled paper to give them something to stare at for a second will also help distract them from the camera. Its all about getting them to act naturally and capture it at their level.
Capturing kids 101. Enjoy the pics of my grandchild "Tyler"