Answer the question
In order to leave comments, you need to log in
Any component in the vkontakte group is not edited. What is the problem?
Good evening. I'm trying to edit data in a group using php, without api. All the early steps were successful, but when editing a group, whether it's a description, name, settings, any data... you can't save them
. no changes occur.
Post request like this:
$post = array(
'access'=>'0',
'act'=>iconv('cp1251', 'utf-8', 'save'),
'addr'=>iconv('cp1251', 'utf-8', $addr),
'al'=>'1',
'category_0'=>'1001',
'category_1'=>'2015',
'category_2'=>'3084',
'description'=>iconv('cp1251', 'utf-8', $opisanie),
'gid'=>$club,
'hash'=>iconv('cp1251', 'utf-8', $hash),
'name'=>iconv('cp1251', 'utf-8', $namegroup),
'rss'=>'',
'subject'=>'',
'website'=>'',
);
$c = HTTP_POST::request("https://vk.com/groupsedit.php", $post, "https://vk.com/".$addr."?act=edit");
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