Using Facebook Connect auth.RevokeAuthorization in ASP.NET

Posted by Focus on Stack Overflow See other posts from Stack Overflow or by Focus
Published on 2010-04-02T16:20:24Z Indexed on 2010/04/02 16:23 UTC
Read the original article Hit count: 400

Filed under:
|
|
|

I'm confused as to how revoking authorization works in the ASP.NET Toolkit. I've tried issuing the following:

   ConnectSession connect = 
        new ConnectSession(FacebookHelper.ApiKey(), FacebookHelper.SecretKey());

   Auth x = new Auth(fbSession);
   x.RevokeAuthorization();

But I get an object reference error during the RevokeAuthorization call. Here's the call definition.

Any idea what I'm doing wrong?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about facebook