Beispiel #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;
     }
 }
 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;
     }
 }