updated for new facebook changes