tags:

views:

527

answers:

3

I've been up and down the Facebook API as well as all over the internets looking for an answer to this question.

Has anyone seen an example of a website that displays information pulled from a Facebook Page? Is this even possible?

I've been able to run the demos provided at Trying Out Facebook Connect and the API Test Console, but I've only been able to retrieve information on users not pages.

Any help would be appreciated.

A: 

What about pages.getInfo?

Alex B
pages.getInfo doesn't apply to any of the elements I need: notes, photos, videos.
Nathan Peretic
+2  A: 

Just tried it out on the console - it does work with pages. You just have to use the page ID instead of the user ID for whatever you're trying to get.

Example:

$facebook->api_client->photos_getAlbums(5281959998,'');

This gets the photo albums of the page with ID 5281959998, which is the NY Times.

jimyi
You're right about photos. I was using photos.get instead of photos.getAlbums, but Notes doesn't work work and Videos appears to have no helpful methods at all.
Nathan Peretic
+1  A: 

For now, it doesn't appear possible. Quote from Stream.get:

This method returns an object (in JSON-encoded or XML format) that contains the stream from the perspective of a specific viewer -- currently, a user, and in the near future, a Facebook Page.

Nathan Peretic