Wednesday, October 30, 2024

Facebook Updates Open Stream APIs

Facebook has just announced some updates to the Open API Stream. Among these are simpler JavaScript methods for publishing, Facebook Pages support, and attribution. A spokesperson for Facebook tells Murdok:

– Developers can now build deep experiences for Page admins to allow them to consume and update their Page stream from applications, such as those on the desktop.

– Application names will now appear in the stream for stories published with the Open Stream API. This feature will help users better identify from where stories are published, and more easily discover the applications their friends use.

– Publishing to the stream is now as simple as share – just a couple lines of JavaScript.

Developers can now access the full stream from Faecbook Pages that publish posts to their streams. Facebook has also created a way for apps to publish to the stream on behalf of a page.

“Once a Page admin grants permission to the application for that Page, your application can request the publish_stream permission for the Page by passing a new special parameter when you prompt for the permission,” explains Facebook’s Yariv Sadan. “This enables a profile selector in the permission dialog. Your application can now post stories on behalf of the Page using any of the stream.publish calls just like it would for a user. You can do this through any the methods described for extended permissions including JavaScript (showPermissionDialog) or directly targeting the prompt_permissions.php URL; we’ll describe the new parameters in these documents.”

More details about the updates to the Open Stream APIs can be found here

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles