I
I
Ivan Mikhailov2017-05-23 10:33:23
In contact with
Ivan Mikhailov, 2017-05-23 10:33:23

How do you know if a post is sponsored?

Hello.
The question is basically in the title. Is it possible to find out an advertising post (with the "mark_as_ads" tag) or a regular one using vk api when reposting? Or just parse?
Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Mikhaylov, 2017-05-24
@IvanMikhaylov

In short, I got it. Maybe someone will come in handy.
You need to check the record before reposting using the wall.getById method for the value of the marked_as_ads parameter. If "1", then skip.
Good luck

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question