Description Usage Arguments Examples
This function takes the media_id
of a post and likes/unlikes that post for you.
1 2 3 |
media_id |
numeric; the unique id to identify a post which can be
found in the |
verbose |
logical; do you want informative messages? |
1 2 3 | last_post_media_id <- ig_my_timeline(paginate = FALSE)$id[1]
liked_result <- ig_like(last_post_media_id)
unliked_result <- ig_unlike(last_post_media_id)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.