How to add query string to redirect_uri facebook login button?

I have a Facebook login button and I set redirect_uri to my local URL. I need to pass some value using redirect_uri.

Any idea to do this?

+4
source share
1 answer

Use the state parameter to send any additional parameters you want to redirect to: 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. 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/

+7
source

All Articles