This is probably easiest done with two controllers rather than trying to synchronize your timing with a friend online.
You'll need to have dug up the ball for the dog first. Bring in the second controller as a henchman.
Press down on the dpad on both controllers at the same time and hold them until the meter is green. Release both at the same time.