Simple OAuth2 and Google Glass Timeline insertion in PHP