나는이 메서드를 제대로 호출하지 않는다고 생각합니다.
여기에 인수 서명 보이는
/**
* Publish a post to the user's stream.
*
* @param $message the user's message
* @param $attachment the post's attachment (optional)
* @param $action links the post's action links (optional)
* @param $target_id the user on whose wall the post will be posted
* (optional)
* @param $uid the actor (defaults to session user)
* @return string the post id
*/
public function stream_publish(
$message, $attachment = null, $action_links = null, $target_id = null,
$uid = null) {
과 같아야하지만 당신의 코드가 $uid
이 예상되는 $appid
을 보여줍니다거야.
$uid
의 사용자가 애플리케이션에 the proper permissions을 부여하지 않은 경우에도 작동하지 않습니다.