2010-08-11 86 views
0

我嘗試身份驗證Facebook。當它重定向它不會返回相同的參數。一段時間後它返回Facebook身份驗證不會重定向相同的參數

http://localhost/2/artist/?auth_token=xxxxxxxxxxxxxxxx&next=http%3A%2F%2Flocalhost%2F2%2Fartist%2Ffacebook.aspx%3Fartistid%3Dxxxx%26page%3D15664546%26isexisting%3Dfalse%26act%3Dadd%26step%3D1%26site%3Dfbevent

但大多時候它返回

^h ttp://localhost/2/artist/?installed=1&next=http%3A%2F%2Flocalhost%2F2%2Fartist%facebook.aspx%3Fartistid%3Dxxxx%26page%3Dsdfasdf%2Bsdf%2Bsa%26isexisting%3Dfalse%26act%3Dadd%26step%3D1%26site%3Dfbevent&session={%22session_key%22%3A%222.cQWUqNcffzsWReDAcctOmA__.3600.1281524400-100000327994753%22%2C%22uid%22%3A100000327994753%2C%22expires%22%3A1281524400%2C%22secret%22%3A%22xOodxtnGGNMIK0F4Zq_sCw__%22%2C%22sig%22%3A%223eb5b89dd11e3b42d46587921ebecc52%22}

爲什麼它返回不同的參數?

回答

0

你不能指定你的localhost到Facebook的網址。您需要將您的應用程序上傳到某個服務器,然後使用這些URL。