removed duplicate facebook code