We launched the Open Stream API in April to give developers access to a core Facebook experience, and the ability publish to users' streams. The Open Stream API supports several different publishing methods as well as the Atom-based Activity Streams framework for reading the stream.
Today, we are announcing updates to the Open API Stream, including:
- Facebook Pages support: Access the stream for Facebook Pages without a session and publish to the stream on behalf of a Page.
- Attribution: The name of your application will appear in the stream for stories published with the Open Stream API, allowing for greater visibility for applications in stream stories.
With the launch of the Open Stream API, we created stream.publish, a method to simplify publishing into a user’s stream, and replacing the previous versions that relied on Feed templates. To publish stories using this method server-side, a user must first grant the publish_stream permission to your application to publish on the user’s behalf. You don't need any other permissions or approvals to use this method.
Facebook Pages Support
With today's announcement, you can now access the full stream from Facebook Pages that publish posts to their streams. Using stream.get or the stream FQL table, you can access any data from Facebook Pages using the Page ID as the source ID. You don't need an active session to access a Page's stream.
If you are using any stream.publish method already, you don't have to make any changes. If you are using other Feed methods such as FB.Connect.showFeedDialog, feed.publishUserAction, or status.set, we recommend considering stream.publish to take advantage of this new feature. You should also review your application’s profile page to make sure it effectively represents your application or website and links to the right destination.
As always, we welcome your feedback in the Developer Forum. We can't wait to see how you'll publish into users' and Pages' streams now.