0
Facebookのキャンバスアプリを作成していて、ユーザーの壁に投稿しようとしています。この私が使用しているコード:Facebook php sdk - プロンプトで壁に投稿する
if ($user) {
$attachment = array('message' => 'This is message',
'name' => 'Name of the message',
'caption' => 'Caption of link',
'link' => 'http://www.example.com/about',
'description' => 'Great site!',
'picture' => 'http://lorempixum.com/100/100/',
'actions' => array(array('name' => 'Do Something!',
'link' => 'http://www.example.com'))
);
$result = $facebook->api('/me/feed/',
'post',
$attachment);
}
をだから私は2つのFacebookのアカウントでテストし、それが壁に私はいつも見ているFacebookのダイアログなしでポストします。壁に掲示してキャンセルするよう警告してもらいたい
どうすればよいですか?
です。実際には意味がある...ありがとう。 –