San Francisco managed just three hits, but scratched out a run in the first on a sacrifice fly by Brandon Belt.
The hard-luck loss went to Randall Delgado (4-5), who gave up only three hits in seven innings.
San Francisco, which won 94 games last season prior to winning the World Series for the second time in three years, posted just its 60th victory of the season Friday.
Video of Victoria’s Secret models trying to 'twerk' hits Instagram
Exploding whale video goes viral on Internet