When I use Facebook api()
method, it work correctly when I got permission, but when a user reject some extended permission and my php script ask for that data an error occurs and the script stuck. So after api()
request no more instructions are executed.
How can I handle that error? I can't even get to those data to find out that there is an error, because like I said the script stuck.