Facebook Connect:auth_token参数

时间:2009-12-16 13:55:53

标签: facebook

我正在实现基于facebook连接的应用程序,当我使用

$facebook->require_login()

在Facebook上显示登录页面后,我被重定向到应用程序页面。现在,当加载应用程序页面时,会在末尾附加一个“auth_token”参数,例如:

http://example.com/some_path/?auth_token=892a70ff0e1c1111

每次刷新此页面时,此参数都会不断附加到URL,例如:

http://example.com/some_path/?auth_token=892a70ffb1f9a2ef85be&auth_token=fc3ff94d1f92393557&auth_token=9a700b3db561e07e480de0f&auth_token=8156c4bdfb10b42&auth_token=8e56f1d962c510925580bf

如何防止这种情况发生?

相关问题