This function takes the media_id
of a post and likes/unlikes that post for you.
ig_like(media_id, verbose = FALSE) ig_unlike(media_id, verbose = FALSE)
media_id | numeric; the unique id to identify a post which can be
found in the |
---|---|
verbose | logical; do you want informative messages? |
#>#> #>#> Error: Status: fail #> Message: login_requiredliked_result <- ig_like(last_post_media_id)#> Error in ig_like(last_post_media_id): object 'last_post_media_id' not foundunliked_result <- ig_unlike(last_post_media_id)#> Error in ig_unlike(last_post_media_id): object 'last_post_media_id' not found