Answer the question
In order to leave comments, you need to log in
Connection refused why?
$vkuserjson = file_get_contents("https://api.vk.com/method/users.get?uids=".$vk_uid."&access_token=".$vk_access_token."&fields=uid,first_name,last_name,photo");
$vkjson = file_get_contents("https://oauth.vk.com/access_token?client_id=".$APPID_VK."&client_secret=".$SECRETKEY_VK."&code=".$_GET['code']."&redirect_uri=".$sitedomain."");
Answer the question
In order to leave comments, you need to log in
If a free TP is used, then API requests cannot be made. And in curl, the headers are disabled.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question