move facebook strategy into its own middleware