Evan Longoria hit his 300th home run, Wilmer Flores added a two-run shot and the San Francisco Giants beat the Arizona Diamondbacks 6-2 on Friday night. Logan Webb (2-2) struck out eight in seven innings as the Giants won their fourth straight. Mike Yastrzemski had two hits and scored twice for San Francisco.