facebook身份验证不会重定向相同的参数

时间:2010-08-11 09:53:11

标签: 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

但大部分时间都会返回

ħ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}

为什么它返回不同的参数??

1 个答案:

答案 0 :(得分:0)

您无法为Facebook指定localhost个网址。您需要将应用程序上传到某个服务器并使用这些网址。