Getting video title using video id in youtube api v3 (Android)
<p>I am trying to get youtube video details using the video id in youtube api v3. Using this url : </p>

<pre><code>https://www.googleapis.com/youtube/v3/videos?id=7lCDEYXw3mM&amp;key=AIzaSyCA-EL5sT5LCQnYauNMm2Ku_PukvBcz6ms%20&amp;part=snippet,contentDetails
</code></pre>

<p>I get the return of :</p>

<pre><code>{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "ipRefererBlocked",
"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.",
"extendedHelp": "https://console.developers.google.com/apis/credentials?project=861763996907"
}
],
"code": 403,
"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."
}
}
</code></pre>

<p>The api key is the key is the one I got after registering the app using my SHA1 code in google developer console. How to get over this error?</p>