E
E
Evgeny Popov2015-08-16 11:02:49
Facebook
Evgeny Popov, 2015-08-16 11:02:49

How to get the user id or username of the person who shared the link?

The user "share" a link to the site through a button on the page, is it possible to get information about his account (he is authorized at the same time) - id or username. First of all, we are interested in a similar opportunity for services: vk, fb, tw.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Sokolov, 2015-08-16
@Kaaboeld

When a post is shared inside VKontakte, in the iFrame application, via wall.post(), the post id on its wall is returned, and you already know the post id. I did this mechanic: the user, post id, and through the def. the time is checked to make sure it is still hanging on the wall and contains the right text - for the user to receive a reward.
If a person shares a link on an external site through the “Like” widget , only the number of likes of this page is returned, the user’s identity / id is not disclosed.

S
sim3x, 2015-08-16
@sim3x

No
such possibility - vulnerability

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question