title: facebook sdk 3 login codeigniter - An error occurred
body: <p>I'm using codeigniter 2.1.2 and facebook api php sdk 3.1.1 (last versions)
  I used the way at <a href="https://stackoverflow.com/questions/9454238/using-facebook-php-sdk-3-x-to-register-login-user-with-codeigniter-2-1-0?answertab=votes#tab-top">this link</a></p>
  
  <p>that exist at the answer. but when I try to login its worked for me only (when I'm using my facebook account). otherwise when anyone try to log in this message appear:</p>
  
  <p>‏<strong>An error occurred with logging in to site. Please try again later.‏</strong> </p>
  
  <p>this is the link at my website: 
  <a href="http://www.tahainshad.com/login4" rel="nofollow noreferrer">http://www.tahainshad.com/login4</a></p>
  
  <p>these are my app settings..</p>
  
  <p><img src="https://i.stack.imgur.com/5a6cH.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/ssbNj.png" alt="enter image description here"></p>