Error while loading the default page on Facebook App
Hello everyone,
i am new to codeigniter and Facebook App. I went through one tutorial for the Facebook App with codeigniter. I did all the settings and everything but when i load the application, it throws me this error "An Error Was Encountered. The action you have requested is not allowed.". I am using the default welcome.php page which have the echo statement. class Welcome extends 开发者_StackOverflow中文版CI_Controller {
function __construct(){
parent::__construct();
}
function index(){
echo 'checking';
}
}
Thanks for helping in advance..
i figured out the problem. The problem was with the Cross Site Request Forgery settings in config file. when $config['csrf_protection'] was enabled, i was not able to access the app. But when i setted the $config['csrf_protection']=FALSE. it started working.
Two things that can be your problems, your FB app configuration and your permission setting either in htaccess or file permission
精彩评论