title: facebook authentication error
body: <p>I am Developing a simple Facebook Application in php which displays only name of the user of the application.</p>
  
  <p>Facebook authentication dialog that appears whenever a facebook user joins an app is not appearing with the programming code I dowloaded from link <a href="https://github.com/facebook/php-sdk" rel="nofollow">https://github.com/facebook/php-sdk</a> officially provided at facebook app developer page.</p>
  
  <p>I have dowloaded some other app codes which has wrong authentication code. 
  I am facing 2-3 errors, in some cases the canvas page of the application is refreshing itself again and again and in the other case authentication window appears, but when one clicks on "Allow App" the page is redirected to application page that is loaded on the server and on clicking "Don't Allow" the page is redirected to canvas page instead of coming back to home page of user.</p>
  
  <p>is the php-sdk library that i have downloaded is outdated or there is any other problem.</p>
  
  <p>please anybody who has tested code provide the with solution coz i have tried a lot of readymade applications already (all has sane problems). i just require a working authentication code with correct php library</p>