method added to first check if posting is authorized on facebook