Ben Canlı Temsilcili Kimlik Doğrulama e-posta adreslerini okuma amacıyla işe almak için deneyin.
Iam windowslivelogin kütüphane yardımı ile PHP yapıyor. Sorun i bir hata olsun.
Ben yanlış ne yapıyorum emin değilim, ben Azure web sayfasında benim uygulamayı tescil ve Appıd ve koduna sırrı var. Bu i Canlı Kütüphane başlatmak için ne kullanın:
$o = new WindowsLiveLogin();
$o->setAppId('000000004801B670');
$o->setSecret('secret');
$o->setSecurityAlgorithm('wsignin1.0');
$o->setDebug(true);
$o->setPolicyUrl('http://www.google.com/aides.html');
$o->setReturnUrl("http://michaelp.dev.gamepoint.net/framework/mainsite/contactimporter/?service=live");
return $o;
then i call $this->LiveLibrary->getLoginUrl()
And after i Login in to Live, it posts 2 things back, $_POST['stoken'] and $_POST['action'].
As soon as i call $this->LiveLibrary->processLogin($_REQUEST); it fails and gives back an error that the token is invalid.
I tried getting Consent straight away by making redirecting to $this->LiveLibrary->getConsentUrl("Contacts.View");
ama bu bir 3007 hata verir ve bu bilgileri paylaşmak olamaz diyor
According to MS this means the following :
3007
Consent Service API failed in the <method name> method. The application verifier is invalid.
The offer security level requires that a valid application verifier be passed with the request.
Iam kütüphanesi tarafından oluşturulan aşağıdaki URL'yi kullanarak
Microsoft, bu şey üzerinde olan belgelerin çoğu anlamıyorum, bence bu gerçekten belirsiz ve kaotik. Ayrıca ben denedim örnek çalışmıyor. Ben bir hata mesajı alıyorum, bu belirteci çözmek / doğrulamak olamaz. I processLogin çalıştığınızda aynı i get ().
Teşekkür peşin,
Michael