rotina pra gravar as ultimas postagens