Возникла такая проблема когда я авторизируюсь через вк выводит разрешение доступа я разрешаю но меня кидает на другую ссылку не накоторую мне нужно вместо той ссылки я прописывал свою но вместо главной вылазит код {"error":"invalid_request","error_description":"redirect_uri has wrong domain, check application settings"}
ОБСУЖДЕНИЕ
Ошибка в Автаризации.
сам код где путальница вот $app_settings = "scope=notify,friends,photos,audio,video,docs,notes,pages,status,offers,questions,groups,notifications,stats,ads,offline";
$app_id = "3842060";
$app_redirect = "http://smapi.tk/";
$app_secret = "JNLSJUulXTwiCtcH3jNH";
$vk_auth_url = "https://oauth.vk.com/authorize?client_id=".$app_id."&scope=".$app_settings."&redirect_uri=".$app_redirect."&response_type=code";
$vk_get_access_url = "https://api.vk.com/oauth/access_token?client_id=".$app_id."&client_secret=".$app_secret."&code=".$_GET['code']."&redirect_uri=".$app_redirect."";
$app_id = "3842060";
$app_redirect = "http://smapi.tk/";
$app_secret = "JNLSJUulXTwiCtcH3jNH";
$vk_auth_url = "https://oauth.vk.com/authorize?client_id=".$app_id."&scope=".$app_settings."&redirect_uri=".$app_redirect."&response_type=code";
$vk_get_access_url = "https://api.vk.com/oauth/access_token?client_id=".$app_id."&client_secret=".$app_secret."&code=".$_GET['code']."&redirect_uri=".$app_redirect."";