title: unable to get user email from facebook api v2.4 using asp.net c# coding
body: <p>asp.net c# code use to get the user email where grant acess
  even i check the app permissions in my facebook account approved items email is true
  what can i do, is there any Facebook setting regarding this to retrieve user email in my Facebook app or there is any bug in the code</p>
  
  <pre><code>using ASPSnippets.FaceBookAPI;
  using System.Web.Script.Serialization;
  
    protected void Login(object sender, EventArgs e)
      {
          FaceBookConnect.Authorize("user_photos,email", Request.Url.AbsoluteUri.Split('?')[0]);
      }
  
  
      protected void Page_Load(object sender, EventArgs e)
      {
          FaceBookConnect.API_Key = "753961091398319";
          FaceBookConnect.API_Secret = "secretkey";
  
              string code = Request.QueryString["code"];
              if (!string.IsNullOrEmpty(code))
              {
                  string data = FaceBookConnect.Fetch(code, "me");
                  FaceBookUser faceBookUser = new JavaScriptSerializer().Deserialize&lt;FaceBookUser&gt;(data);
                  faceBookUser.PictureUrl = string.Format("https://graph.facebook.com/{0}/picture", faceBookUser.Id);
  
  
  
                  lblId.Text = faceBookUser.Id;
                  lblUserName.Text = faceBookUser.UserName;
                  lblName.Text = faceBookUser.Name;
                  lblEmail.Text = faceBookUser.Email;
                  ProfileImage.ImageUrl = faceBookUser.PictureUrl;
                      btnLogin.Enabled = false;
  
              }
          }
  
  }
  public class FaceBookUser
  {
      public string Id { get; set; }
      public string Name { get; set; }
      public string UserName { get; set; }
      public string PictureUrl { get; set; }
      public string Email { get; set; }
  }
  </code></pre>