Simple Php Function To Post To Fanpage In Facebook

Hello,

I would need a simple function in php which would allow me to post certain content to my facebook fanpage so that my followers would see that information.

Content postable should be html-content, but if that´s not possible I would be ok already with the option to post simple texts with included links.

To give an example I am looking for such a function:

$myContent = “New release of XXXX – you might have a look here: <a href=’http://www.domain.com/release1.htm’>Release 1</a>”;

function postToFacebook ($username, $password, $content)
{
// Your function to have the content posted on my facebook fanpage and have the followers being informed.
}

Leave a Reply

Your email address will not be published. Required fields are marked *