如何将查询字符串添加到facebook登录按钮的redirect_uri?

vml*_*l19 5 asp.net facebook

我有一个Facebook登录按钮,我将redirect_uri设置为我的本地URL.我需要使用redirect_uri传递一些值.

这样做的任何想法?

小智 11

使用该state参数将您想要的任何额外参数发送到重定向的URL: Optional. An opaque string used to maintain application state between the request and callback. When Facebook redirects the user back to your redirect_uri, this value will be included unchanged in the response.

http://developers.facebook.com/docs/reference/dialogs/oauth/