I have a Facebook login button and I set redirect_uri to my local URL. I need to pass some value with redirect_uri.
Any idea of doing it?
Use the state
parameter to send whatever extra parameters you want to the redirected 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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With