Use of online API for the favorites management