moving photo function to specific social provider