A
A
Alexey Nikolaev2016-08-30 22:28:55
JavaScript
Alexey Nikolaev, 2016-08-30 22:28:55

How to show a block only after a specific post is reposted from a specific group and a person joins this group?

Task:
There is a block with display; none.
After a person makes a repost of the post offered to him and joins this group, this block becomes visible.
Does anyone have a ready solution?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2016-08-31
@politon

Through api vk
groups.getMembers - you get the last user of the group
wall.getById - you get the first entry on the user's wall (this should be a repost).
You compare, for example, the content or just the presence of a link to your domain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question