开发者

facebook-C#-sdk 5.0.3 beta - what is the replacement for FacebookClient.Session?

开发者 https://www.devze.com 2023-02-11 04:07 出处:网络
I\'ve read the change files and understand that FacebookApp is now FacebookClient. What I don\'t understand is how to tell whether the user is logged into Facebook like before (version 4.0 beta) where

I've read the change files and understand that FacebookApp is now FacebookClient. What I don't understand is how to tell whether the user is logged into Facebook like before (version 4.0 beta) where we simple checked fbApp.Session Is Nothing (VB.NET.) We could do this without instantia开发者_JAVA技巧ting an Authorizer class and checking IsAuthorized.

I'm using .NET 3.5, WebForms, VB and attempting to upgrade from beta 4 to beta 5.0.3

Thanks in advance for any assistance you can offer.

Stan


Session has been moved to the Authorizer class. Take a look at the code samples that come with the release for an idea as to how things work now.

0

精彩评论

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

关注公众号