This is my problem, and any help is greatly appreciated.
I have a website, with a database in which I have successfully stored the facebook user id, access token and fan page id (by using the normal api to get permission etc etc).
Now, the problem is that i would like to be able to post a message to the fan page, which I can do, however the message appears under the name of the user's personal facebook account. For example if I create a fan page called 'My Company' and post a message to it using my code the message appears as if from 'Matt Jellings'. However, if I go to the facebook fan page in facebook and post a message it appears as though it's from My Company.
What I need to do is find a way to do this in PHP so that message that are posted from my script appear as if from that company rather than the personal user.
I hope some of that makes sense, here's my code
$facebook = new Facebook(array(
'appId' => $app_id,
'secret' => $app_secret,
$publishStream = $facebook->api("/" . 'fan_page_id_here' . "/feed", 'post', array(
'message' => 'Test message here',
I should also add that the messages posted from my app need to appear in the news stream (or whatever its called) for people who have liked this fan page.
As always any help is appreciated