I am currently posting content to a users wall and a page that they are admin of. However I have just realized that the code I am using is posting the content to the page under the users name. This means the posts are being classified as "fan" posts. What I want is to post content on the pages wall under the pages name just like Twitterfeed does.
So the code I am using now is:
Where fb_page_id is the page id and fb_connect_uid is the user who allowed access to the page and is a page admin.$return_code = $this->facebook->api_client->stream_publish($message, $attachment, $action_links, $data['fb_page_id'], $data['fb_connect_uid']);
stream_publish does not seem to be the correct class to use if publishing to page wall under pages name.