1
jquery/ajax 함수 내에서 Google Plus connect API를 실행하려고합니다. 내가받는 응답은 정의되지 않았습니다. Firebug는 빈 응답을 표시합니다. jQuery/Ajax를 사용하는 Google Plus connect API
이
나는 코드를 사용하고있다 : 불을 지르고에서function gPlusConnect()
{
console.debug('line 401 ajax gestartet');
result=$.ajax({
type: 'POST',
async: false, // false
url: 'https://accounts.google.com/o/oauth2/auth',
data: ({
scope:'https://www.googleapis.com/auth/userinfo.email+https://www.googleapis.com/auth/userinfo.profile',
state:'/profile',
redirect_uri:'https://ssl.webpack.de/learnface.de/donation/launchpages',
response_type:'code',
client_id:'.........82.apps.googleusercontent.com',
})
}).responseText;
console.debug('index.php 415 ajax ends with '+result+' from g+');
}
결과는 다음과 같습니다
Header Post Antwort HTML
index.php 415 ajax ends undefined from g+
사람이 성공적으로 이런 짓을 했습니까? 더 나은 친구를 추천 하시겠습니까?