I've just noticed that this method is failing in my ASP.NET web application because I'm not catering for 'expires_in' being missing in the response.
I haven't changed any code recently, and was not aware of any reason for this to be missing in the response. Does this mean that the token has expired?
I'm using version 7.0.6 of the C# Facebook SDK and v2.5 of the Facebook Graph API.
The JSON response looks like this:
{"access_token":"xxxx","token_type":"bearer"}
There is an open bug report about this on Facebook's bug tracker. Given Facebook's response it does indeed sound like it's a bug on their end, and appeared some time yesterday.
Updates will appear in that bug report, and you can subscribe to it to give it more visibility and to receive updates.
Thanks to CBroe for pointing out the bug report in his comment on the question.
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