Safecracker (ExpressionEngine) not working in Facebook page -


i'm using expressionengine , safecracker build simple facebook app runs inside of fb page.

my code functions outside of facebook page, inside page shows blank screen. i've been able narrow down piece of code:

{exp:safecracker channel="lekker_fietsen_competitie" return="/"} <input type="text" name="title" value=""><br> <textarea name="description"></textarea><br> <input type="file" name="image"><br> <input type="submit"> {/exp:safecracker} 

i'm guessing safecracker somehow violating can , can not inside fb page, can't see is.

things i've tried:

  • hidden fields are allowed inside fb page, work properly, not cause of problem
  • the scripts , other stuff that's generated safecracker works inside fb page; i've hard-coded of , there seems no problem if hard coded

you'd solution easy: hard code form. can't, because form has 2 fields expressionengine needs write entry:

<input type="hidden" name="meta" value="cissfx0nbctnvxs7mwisvwx0owj62c0kkoegbzu8rmthmjfnsv/os0q8mtph9hlmu/     ru2n8a5j4s3wgyb8c+xwbdnfurtcewnrkywdoxskxb34i5unn8xpvqt/     wyc5fajttx4vygomwahz0vc7gxtxh4cyhu/zgx7s/ub6dgaykk3cnl2f3+zbdid     +kbu7mse0o1ajx3nx7qae6ipkjpxnqeimischc1aoxjriz/5ewihqzddz18rrbs4     kdhcq9rchfptib4rtjxque1cgylwj+ojitaeva68ivmc7c3afrl9wf4wxojochpmlex     0w2od5t/ery0mv6gbcnkazcqrdqjgjx3rd7sqrxoo6u7ghh+vqrzw/y/y7dqlmz1lgmrj     kdnoqdm/9bpej8sp+3dco2mdjf4wgcflkze3p7xglc="> <input type="hidden" name="xid" value="1fba9120c5e00cfcb665bd0c7e147757b7888847"> 

so, go here? terms/guidelines might violating?

i submitted ticket , did following. naviagate expressionengine -> libraries -> cp.php , go line 75. ticket https://support.ellislab.com/bugs/detail/19663

ee()->output->set_header('x-frame-options: sameorigin'); 

replace with

if (isset($_get['d']) , $_get['d'] == 'cp') {     ee()->output->set_header('x-frame-options: sameorigin'); } 

Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -