K
K
karen66302015-03-24 15:22:04
PHP
karen6630, 2015-03-24 15:22:04

VK API how to get userID in iframe application?

VK API how to get userID in iframe application, preferably in PHP

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Max Payne, 2015-03-24
@karen6630

From $_REQUEST['viewer_id'].
Other variables passed by Iframe to the application can be found here: vk.com/dev/apps_init .

R
Ruslan Sadikhov, 2015-03-24
@fsdsdfsfdsfsdfsdfsdfsdfsd

echo $_GET['viewer_id'];
Don't thank.

I
Ilya Korablev, 2015-03-24
@swipeshot

You google, not set tasks for us here.
And so - here:
Then display the avatar

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question