When I try to implement this sample with my account information, it sends me to a page "Invalid API Key". I just need to create a simple PHP application that will access the simple data. I'm also not able to get a refresh_token. Any help is appreciated.