German legal ruling deals Facebook blow in data use