Skip to content

How do you turn a "Media" value into a media_id? #1053

Answered by adw0rd
tajbowness asked this question in Q&A
Discussion options

You must be logged in to vote
for media in cl.user_medias(...):
    cl.media_like(media.id)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tajbowness
Comment options

Answer selected by tajbowness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants