开发者

Is Facebook PHP SDK oauth 1.0 or 2.0

I today got a mail to开发者_StackOverflow社区 transform my application to oauth 2.0 I used the php sdk from facebook for the authentication purposes... Is Facebook PHP SDK oauth 1.0 or 2.0


Facebook only uses Oauth 2; so does the php sdk.


PHP SDK v2.x is using Facebook;'s legacy auth. PHP SDK v3.x is using OAuth 2


The PHP SDK does not use oauth at this time. It uses the Facebook's legacy auth, which is neither oauth 1 or 2.

https://developers.facebook.com/docs/authentication/connect_auth/

Also see Facebook's announcement here here: http://developers.facebook.com/blog/post/497/?ref=nf

"Websites using JavaScript and PHP SDKs

On July 1, we will have an updated JavaScript SDK and PHP SDK available that supports the upgraded auth flows as well as a modified cookie format that includes the code parameter. Once ready, we will publish a post on the update. If you’re directly referencing the JavaScript SDK, this change will happen automatically. "

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜