0

このメソッドを使用して、サーバー側で 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 が機能しない設定を教えてください。

4

0 に答える 0