どうぞよろしくお願いいたします。
私はアプリを開発しており、ユーザーが私のアプリケーションを使用するたびに、アクティビティ (最近のアクティビティのユーザー タイムラインに表示される) を投稿したいと考えています。
現時点では、このコードを以下に示しますが、通常のリンクのみを投稿します。
if($can_post){
$facebook->api('/'.$uid.'/feed', 'post', array(
'message' => '',
'name' => 'Name',
'caption' => 'Caption',
'description' => 'SDesc',
'picture' => 'picture url',
'link' => 'link',
'actions' => array(array('name' => 'catch phrase',
'link' => 'http://link'))
));