google-auth-library-php icon indicating copy to clipboard operation
google-auth-library-php copied to clipboard

Change example requests from taskqueue to something more universal

Open bshaffer opened this issue 10 years ago • 2 comments

The sample code that calls the TaskQueue API makes it really easy to accidentally receive the error message "you are not allowed to make this api call"

This is because it requires the user to:

  1. replace "myproject" in the URL with their current Project ID
  2. replace "myqueue" in the URL with their Queue ID
  3. Set up a task queue

It would be great to have an easier path to make the first Google API call, one that doesn't require subbing out these parameters. The Google+ API is a good example of this - it's very simple, and doesn't require any steps to activate other than attaching the authentication

bshaffer avatar Sep 11 '15 22:09 bshaffer

Still needs fixing in GCECredentials and ServiceAccountCredentials

bshaffer avatar Dec 18 '15 22:12 bshaffer

The Google+ API is now gone. Perhaps the People API would be better

bshaffer avatar Jul 24 '20 19:07 bshaffer