T
T
tschin2016-11-13 19:47:09
PHP
tschin, 2016-11-13 19:47:09

How to extract access_token in VK API via PHP?

Hello! I get an access_token, it is in the address bar like this:
/index.php#access_token={TOKEN}
How to extract it from the address bar using PHP?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lumore, 2016-11-13
@Lumore

$token = $_GET['access_token'];

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question