title: Sitecore 7.2 Social Connected Module 2.1 authResult=error
body: <p>I have installed social connected module 2.1 on Sitecore 7.2, then I configured the profile mapping, facebook app, everything was going well. </p>
  
  <p>When I try to login using the "Login with facebook" rendering, I'm getting redirect to the same page with an error query string: </p>
  
  <p><a href="http://sc72rev151021.com/registration?authResult=error_9ffsede-dsdf6-4f50-9b6a-asdasdasd" rel="nofollow">http://sc72rev151021.com/registration?authResult=error_9ffsede-dsdf6-4f50-9b6a-asdasdasd</a></p>
  
  <p>I checked the log file and I see this error: </p>
  
  <blockquote>
    <p>28144 10:24:36 ERROR The error in ConnectManager occured Exception:
    Sitecore.Social.Infrastructure.Exceptions.SocialException Message: The
    given key was not present in the dictionary.</p>
    
    <p>Nested Exception</p>
    
    <p>Exception: System.Collections.Generic.KeyNotFoundException Message:
    The given key was not present in the dictionary. Source: mscorlib<br>
    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)    at
    Sitecore.Social.Facebook.Networks.Providers.FacebookProvider.GetAccountBasicData(Account
    account)    at
    Sitecore.Social.Client.Api.ConnectorClientManager.Connect(Account
    account, Boolean attachAccountToLoggedInUser, Boolean
    isAsyncProfileUpdate)    at
    Sitecore.Social.Client.Api.Connector.ConnectorAuthCompleted.AuthCompleted(AuthCompletedArgs
    args)</p>
  </blockquote>
  
  <p>Then I recompiled the DLLs, and the code is crashing here (the following code snippet from <strong>Sitecore.Social.Facebook.dll</strong> ): </p>
  
  <pre><code>  public AccountBasicData GetAccountBasicData(Account account)
      {
          Assert.IsNotNull(account, "Account parameter is null");
          IDictionary&lt;string, object&gt; accountData = this.GetAccountData(account, "/me");
          if (accountData == null)
          {
              return null;
          }
          string str = string.Concat(accountData["first_name"], " ", accountData["last_name"]);
          AccountBasicData accountBasicDatum = new AccountBasicData()
          {
              Account = account,
              Id = accountData["id"] as string,
              Email = accountData["email"] as string,
              FullName = str
          };
          return accountBasicDatum;
      }
  
     private IDictionary&lt;string, object&gt; GetAccountData(Account account, string access)
      {
          return this.FacebookRequest(account, access, null, (FacebookClient facebookClient, string feedPath, object inputParams) =&gt; facebookClient.Get(feedPath) as IDictionary&lt;string, object&gt;);
      }
  </code></pre>
  
  <p>Any Idea ? Is this module depends on deprecated facebook keys ?</p>
  
  <p>Thank you</p>