このメソッドを使用して、サーバー側で PHP を介して Google で長い URL を短縮しています。
しかし、それは私にこのエラーを返します:
"domain": "usageLimits", "reason": "ipRefererBlocked", "message": "The referrer null does not match does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions."
しかし、私はすでにリファラーを localhost & 127.0.0.1 に設定しています
また、Google Shorter を有効にして、そのクォータを確認しました
他に構成しなかった設定や、http://localhostで Google Shortener が機能しない設定を教えてください。