This function takes the media_id of a post and likes/unlikes that post for you.
Usage
ig_like(media_id, verbose = FALSE)
ig_unlike(media_id, verbose = FALSE)
Arguments
media_id
numeric; the unique id to identify a post which can be
found in the id, not the pk field, of posts returned via many of
the functions retrieving feeds.