Closed tmorcinek closed 8 years ago
While you're developing, you can get away with using a Browser Key. https://developers.google.com/youtube/registering_an_application#Create_API_Keys When you're ready to deploy your app, you will need to create the Android Key using your public certificate SHA1 fingerprint and your applications package name.
Thanks very much for the answer!
I am getting this error from server when trying to access Youtube API.
com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden { "code": 403, "errors": [ { "domain": "usageLimits", "message": "The Android package name and signing-certificate fingerprint, null and null, do not match the app restrictions configured on your API key. Please use the API Console to update your key restrictions.", "reason": "ipRefererBlocked", "extendedHelp": "https://console.developers.google.com/apis/credentials?project=796104768654" } ], "message": "The Android package name and signing-certificate fingerprint, null and null, do not match the app restrictions configured on your API key. Please use the API Console to update your key restrictions." }