// SyncLikers fetch new likers of a media
//
// This function updates Item.Likers value
SyncLikers fetch new likers of a media

This function updates Item.Likers value
// SyncLikers fetch new likers of a media // // This function updates Item . Likers value
func (item *Item) SyncLikers() error {
	resp := respLikers{}
	insta := item.media.instagram()
	body, err := insta.sendSimpleRequest(urlMediaLikers, item.ID)
	if err != nil {
		return err
	}
	err = json.Unmarshal(body, &resp)
	if err == nil {
		item.Likers = resp.Users
	}
	return err
}
func ( item * Item ) SyncLikers ( ) error { resp := respLikers { } insta := item . media . instagram ( ) body , err := insta . sendSimpleRequest ( urlMediaLikers , item . ID ) if err != nil { return err } err = json . Unmarshal ( body , & resp ) if err == nil { item . Likers = resp . Users } return err }
SyncLikers fetch new likers of a media
SyncLikers fetch new likers of a media