I have a facebook site (site, not profil wall) and would like to display the message feed on a webpage. This already works fine if I use
https://graph.facebo
https://developers.facebook.com/docs/plugins/ provides a list of all plugins that you can embed. However, this does not work if you want to display feed to non-fb-logged-in users.
To solved your problem - have a server side script that accesses this feed and displays it. If this feed is from a FB page, then you will need an access token with "manage_pages" permissions. Using that, you can get the contents using the following (PHP) code:
$response=file_get_contents("https://graph.facebook.com/".$id."/feed&access_token=".$facebook_access_token);
$response_array=json_decode($response,true);
// $id: Page ID
You can also customize this query by adding pagination parameters like since,limit,until etc. Please refer to https://developers.facebook.com/docs/reference/api/ for documentation.
This approach allows you the following advantages:
Disadvantages: