Hi,
I'm triyng to build a facebook page tab with MODX. Facebook integrates custom tabs into an iframe and sends JSON string as a POST request to the application.
The problem is that when I print_r($_POST) the variable seems to be empty. Maybe this is some security issue, I don't know, but it's vital for my application to receive the POST variables.
Have someone had such kind of problem?
I need to fix this urgent, because there will be an ad campaign in a fiew hour promoting this application...
There's not really much info to go on here - try using Chrome Dev Tools to check exactly what is being POSTed, and where to. That will at least get you started in debugging.
Are you seeing this when you try it?
If not the print_r() is not working.
If it's a snippet, try this:
return print_r($_POST,true);
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html