Using the Facebook API to populate the feed of a public page
I've been looking quite all around the internet and I couldn't find a
solution that would help me with my very specific problem.
I own a website on which I post news regularly, and I created a Facebook
public page for the project of this website. I would like to populate the
feed of this public page each time I write some news using a Facebook app
I created for this purpose.
I just can't get to manage the connection between the website and this
Facebook page so that there is a new status update on the page every time
I write a news on the website. Like:
$c = new Connection();
$c->Execute("INSERT INTO news VALUES('', '" . $title . "', '" . $content .
"', '" . $author . "', '" . date('Y-m-d H:i:s') . "')");
$c->Close();
// What should I put there?
Is there some configuration I should make ? Some specific code using the
API so that it could access a public page?
Thank you all,
Stephane.P
No comments:
Post a Comment