PHP 新闻源共享按钮消失


PHP News Feed Share Button Disappears

我正在使用PHP将状态更新发布到我的一些粉丝页面。

我正在发布链接,并且所有内容都正确加载,但是,发布完成后共享按钮消失。

我看到其他一些人问过同样的问题,但没有答案。

如果有人能帮我找到答案,我会确保告诉其他人。

谢谢大家!

   公共函数添加状态($status)    # 用于: FB 简单 APi    #              {        如果 ($this->_user) {            尝试 {                $dataArray = 数组(                    "消息" => $status,                    "链接" => "http://videomaniacsnetwork.com/wallposts/CZikEEIJiF.html"                    );                                 if ($this->_isPage && REPLY_AS_PAGE) {                    $dataArray['access_token'] = $this->_getPageToken();                }                                  $publishStream = $this->_facebookObj->api('/' . $this->_userId ."/提要"、"发布"$dataArray);                if (TRACE) {$this->_trace[] = 'addStatus'; }                返回真;            } catch (FacebookApiException $e) {                $this->_errorArray[] ="无法设置状态"。                $this->_debugArray[] = $e;                返回假;            }        }    }

可能是共享按钮没有通过"if"验证状态,如果jou使用if状态来发布表单。为该表单添加 php 代码验证。