Exemplo n.º 1
0
 internal protected override object Api(string path, IDictionary <string, object> parameters, HttpMethod httpMethod, Type resultType)
 {
     try
     {
         return(base.Api(path, parameters, httpMethod, resultType));
     }
     catch (FacebookOAuthException)
     {
         try
         {
             _request.DeleteAuthCookie();
         }
         catch { }
         throw;
     }
 }
Exemplo n.º 2
0
 internal protected override object Api(string path, IDictionary <string, object> parameters, HttpMethod httpMethod, Type resultType)
 {
     try
     {
         return(base.Api(path, AddReturnSslResourceIfRequired(parameters, IsSecureConnection), httpMethod, resultType));
     }
     catch (FacebookOAuthException)
     {
         try
         {
             _request.DeleteAuthCookie();
         }
         catch { }
         throw;
     }
 }