2010-08-11 119 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。