Y
Y
yischyk2019-06-06 13:29:34
PHP
yischyk, 2019-06-06 13:29:34

How to check if a user owns a public through his token?

Hi. how to check from the server side of the site whether the user owns the public through his token
i.e. first he writes a link to the public in the input, and then follows the link, gives permission, goes to the form.html, copies all the data from the address line, goes to the site and pastes it into another input, then the site tells him that the public belongs to him

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
yischyk, 2019-08-10
@yischyk

using the groups.getById method, namely is_admin

S
Sergey Sokolov, 2019-06-06
@sergiks

The groups.getMembers() method with a filter filter=managersis only available to Community Admins.
Do not receive a token by asking you to copy the address bar. This is bad practice.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question