improvements in facebook adapter
Better php doc in the code