I have a issue with the facebook API. I created a fan page and set admin of page which is my account facebook. After that, I want to use Facebook API to post a feed to fan page. In this case, I have tested with 2 types : status message and share link.
1>Post a message to fanpage :
$publishStream = $fb->api("/" . $fbPageId ."/feed", 'post', array( 'message' => 'test ' . time() . ' http://example.com', ) );
Result : I've posted to fanpage success and owner of feed was fanpage.
2> Share a link to fanpage
$publishStream = $fb->api("/" . $fbPageId ."/feed", 'post', array( 'link' => 'http://example.com', ) );
Result : I've posted link to fanpage success and owner of feed was user. This feed will show in Recent Posts by Others on ABC Page (ABC is name of fanpage). Anyone have got same issue like me ? Thanks.