Facebook 向我管理的组发布权限时出错

Facebook 向我管理的组发布权限时出错,facebook,facebook-graph-api,Facebook,Facebook Graph Api,我的应用程序能够成功发布到多个页面,但当我尝试发布到组时: $page_id = MY_GROUP_ID; $page_access_token = ""; $result = $fb->api("/me/accounts"); $page_access_token = ""; // loop trough all your pages and find the right one if( !empty($result['data'

我的应用程序能够成功发布到多个页面,但当我尝试发布到组时:

    $page_id    = MY_GROUP_ID;
    $page_access_token = "";
    $result =  $fb->api("/me/accounts");

    $page_access_token = "";
    // loop trough all your pages and find the right one
    if( !empty($result['data']) )
    {
        foreach($result["data"] as $page)
        {
            if($page["id"] == $page_id)
            {
                $page_access_token = $page["access_token"];
                break;
            }
        }
    } else {
        echo "AN ERROR OCCURED: could not get the access_token. Please verify the page ID ".$page_id." exists.";
    }

    // set the facebook active facebook access token as the one we just fetch
    $fb->setAccessToken($page_access_token);

    // Now try to post on page's wall
    try{
        $message = array(
            'message' => "Test message",
            'description' => "Test Description",
            'link' => "http://example.org"
        );
        $result = $fb->api('/'.$page_id.'/feed','POST',$message);
        if($result){
            echo 'Successfully posted to Facebook Wall...';
        }
    }catch(FacebookApiException $e){
        echo $e->getMessage();
    }

}else{

    $fbloginurl = $fb->getLoginUrl(array('redirect-uri'=>$returnurl, 'scope'=>$permissions));
    echo '<a href="'.$fbloginurl.'">Login with Facebook</a>';

}
如果我转到此处:,我可以看到我的应用程序及其权限。我在列表中没有看到任何与组相关的内容

我已注销,并被提示使用上述脚本登录,但未被提示编辑/添加应用权限。在我拥有的组的“组设置”下找不到任何与应用程序相关的设置


我记得一年前我第一次制作应用程序时看到了应用程序权限页面,但除了删除当前应用程序并重新创建外,是否有方法简单地编辑现有权限以将我的组添加到应用程序中?当我在上面的应用程序设置页面下单击应用程序时,我没有看到任何组权限

上面的代码没有提到任何关于组的内容。第一行:$page\u id=MY\u GROUP\u id;。然后我再次不确定如何形成请求。我在别处读到,不再支持向群组发帖。
(#200) Permissions error