Answer the question
In order to leave comments, you need to log in
Problem with &?
Hello.
I work with api vk, I ran into a problem.
When testing on local, everything works fine, but when I uploaded it to the server, I started getting an error.
There is a line for getting a token:
$token = json_decode(file_get_contents(urldecode('https://oauth.vk.com/access_token?client_id='.$appId.'&redirect_uri='.$url.'&client_secret='.$secretKey.'&code='.$_GET['code'])), true);
https://oauth.vk.com/access_token?client_id=...&redirect_uri=...&client_secret...
&
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question