我一直在關注this tutorial來創建Youtube應用程序..我創建了Browser-Android API密鑰並嘗試了它們兩個我的項目。但是,當我嘗試運行它和搜索,我得到:YouTube Api - 無法搜索:com.google.api.client.googleapis.json.GoogleJsonResponseException:403禁止
Could not search: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
"code" : 403,
"errors" : [ {
"domain" : "usageLimits",
"message" : "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed.",
"reason" : "ipRefererBlocked",
"extendedHelp" : "https://console.developers.google.com"
} ],
"message" : "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed."
}
任何想法..?
我做了,我確定它是正確的..:S – 2015-02-06 00:04:14