-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete url-shortener.php #1646
Delete url-shortener.php #1646
Conversation
Delete url-shortener.php
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use a different API then. The point of this example is to illustrate 3-legged OAuth, and it's the only example we have for that.
Also, the path in examples/index.php needs to be updated
I've updated To resolve the linked bug, would you like to either:
For showing OAuth, perhaps we can cross link the G Suite samples which use OAuth: There are ~12 OAuth samples there. |
Is there a third option of updating it to use another service? I only took a quick glance, but it looks like there is only a single insert call. |
More than happy to link to one of the gsuitedevs samples! |
I added a link in the The docs seem to show an example of OAuth with Drive: So I'm not sure exactly why there's the comment of we should be using a different API as Drive already shows OAuth. |
@bshaffer Please review. |
Done. |
The URL Shortener API is deprecated and was shut down March 30, 2019.
https://developers.googleblog.com/2018/03/transitioning-google-url-shortener.html
Please review/merge and mark b/33482850 as fixed.