A German court ruled on Monday that thousands of local Facebook users affected by a massive data breach in 2021 are eligible for compensation.