I have a facebook login button on my website and I include data in it.
So my callback url looks like http://my.domain/callback/facebook/?my_param=my_data.
Once the user goes on the application permissions page and either accept or reject my app, it would always come back as
http://my.domain/callback/facebook/?code=code&my_param=my_data#accepted
or
http://my.domain/callback/facebook/?error=error_data&my_param=my_data#rejected
And I just noticed today that Facebook now renamed my my_param to 0 when the application is rejected. (i.e. http://my.domain/callback/facebook/?error=error_data&0=my_data)
I did not find anything in the developers.facebook.com documentation.
- Does someone know why it changed?
- What are the rules applied to rename the parameters?
- Is there any documentation about this change?
Bug has been fixed by facebook.
https://developers.facebook.com/bugs/292294647538649