switch method fetch_reposts to API