Finally fixed FB permissions logic