Here's a sketch of another way to try to do it, if for some odd reason you don't want to try the better way using Stone-Weierstrass.
Assume that you have the conclusion of the hint, as demonstrated in the previous answer.
Consider the family of functions, for $N = 1, 2, 3, \dots$
$$
h_N(t)
= \frac{1}{N}\{ f(t+\alpha) + f(t+2\alpha) + \dots + f(t+N\alpha) \}
- \int_0^1 f(t)\ dt
$$
Using the hint, show that the sequence
$$\widehat{h_N}(k) = \int_0^1 h_N(t)\ dt$$
converges to $0$ in $l^2(\mathbb{Z})$.
We know $l^2(\mathbb{Z})$ and $L^2([0, 1])$ are Hilbert space isometric, because the trigonometric polynomials are dense in $L^2([0, 1])$, and so it follows that $h_N$ converges to $0$ in $L^2([0, 1])$.
We have to show that in fact this yields pointwise convergence, which is general not true but in this case is because of the continuity of $f$.
Here's an easy fact to verify: Suppose you have a sequence and a value, such that every subsequence has a sub-subsequence which converges to that value. Then, the original sequence also converges to that value.
Pick $t_*$ in $[0, 1]$, and pick an arbitrary subsequence of $\{h_N(t_*)\}$.
The corresponding subsequence of $\{h_N\}$ converges in $L^2$ to $0$, since $\{h_N\}$ itself does.
We know from $L^2$-space theory that there is a sub-subsequence which converges pointwise almost everywhere to $0$.
There are a couple of different ways to proceed from here. One way is to notice that the sub-subsequence of $\{h_N\}$ is equicontinuous. Then you can apply Arzela's theorem to find a sub-sub-subsequence which converges uniformly to a continuous limit function $\phi(t)$ on $[0, 1]$.
By Dominated Convergece, this sub-sub-subsequence also converges in $L^2$ to $\phi$.
So, $\phi$ equals $0$ almost everywhere, and by continuity they are in fact equal everywhere.
The upshot is that $\phi(t) = 0$ for all $t$, so for our arbitrary $t_*$ and our arbitrary subsequence of $\{h_N(t_*)\}$, we found a sub-sub-subsequence which converges pointwise at $t_*$ to $0$.
So $\{h_N(t_*)\}$ converges to $0$, but $t_*$ was arbitrary so $\{h_N(t)\}$ converges to $0$ for every $t$.
Choosing $t = 0$ gives the result we are looking for.