I’ve asked this on the Facebook Developer Forums, but no-one is answering, so thought i’d ask it on Stack.
I’ve got a website which integrates with Facebook Connect using OAuth for authentication. But i have some code which leverages the JavaScript SDK.
I have heard that the JavaScript SDK is being deprecated and/or authentication via the JavaScript SDK is being deprecated.
Can anyone:
- Confirm if the above statement is true
- Provide a link giving the date that it is to be deprecated
- Tell me im wrong
EDIT
For anyone who is curious as to why i still use the JavaScript SDK, see my other Stack question for the reasoning.
In short, this cannot be done with OAuth/Graph API:
FB.getLoginStatus(function (response) {
if (response.status == 'connected') {
// do single sign on, seamlessly.
}
}
To be very clear, we are not deprecating the JavaScript SDK. It’s here to stay. We are in the process of changing it to rely on OAuth 2.0, but it will be just as simple to use. If you use
access_tokentoday, then the changes will be minor (largely replacesession.access_tokenwithauthResponse.accessTokenonce the updated JS SDK is out). If you rely onsession_keyandsecretand use md5 signature based calls, then you have some migrating to do since those will go away in the OAuth 2.0 only world.