Reputation:
before its working fine
https://www.googleapis.com/urlshortener/v1/url?key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
but current now showing error
{
"error": {
"errors": [
{
"domain": "global",
"reason": "forbidden",
"message": "Forbidden"
}
],
"code": 403,
"message": "Forbidden"
}
}
what i have to do ?
Upvotes: 1
Views: 1047
Reputation: 117321
Google is in the process of shutting down URL shortner. I think you should start looking for another option
Transitioning Google URL Shortener to Firebase Dynamic Links
Starting May 30, 2018, only projects that have accessed URL Shortener APIs before today can create short links. To create new short links, we recommend FDL APIs. FDL short links will automatically detect the user's platform and send the user to either the web or your app, as appropriate.
Upvotes: 1