Feed.getRegisteredTemplateBundles

From Facebook Developer Wiki

Jump to: navigation, search

Contents

Description

Facebook will deprecate this method December 20, 2009.

Please start using stream.publish, FB.Connect.streamPublish, and Facebook.streamPublish instead.

Retrieves the full list of all the template bundles registered by the requesting application. The list does not include any of the template bundles previously deactivated via calls to feed.deactivateTemplateBundleByID.

Parameters

RequiredNameTypeDescription
required api_key string The application key associated with the calling application. If you specify the API key in your client, you don't need to pass it with every call.
sig string An MD5 hash of the current request and your secret key, as described in the How Facebook Authenticates Your Application. Facebook computes the signature for you automatically.
v string This must be set to 1.0 to use this version of the API. If you specify the version in your client, you don't need to pass it with every call.
optional format string The desired response format, which can be either XML or JSON. (Default value is XML.)

Example Return XML

<?xml version="1.0" encoding="UTF-8"?> <feed_getRegisteredTemplateBundles_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd" list="true"> <template_bundle> <one_line_story_templates list="true"> <one_line_story_template>{*actor*} is playing {*game*} with {*target*}.</one_line_story_template> </one_line_story_templates> <short_story_templates list="true"> <short_story_template> <template_title>{*actor*} is playing {*game*} with {*target*}.</template_title> <template_body>{*actor*} is playing {*game*} with {*target*}.</template_body> </short_story_template> </short_story_templates> <time_created>1213995448</time_created> <template_bundle_id>17869702716</template_bundle_id> </template_bundle> <template_bundle> <one_line_story_templates list="true"> <one_line_story_template>{*actor*} just challenged {*target*} to a game of {*game*}.</one_line_story_template> </one_line_story_templates> <short_story_templates list="true"> <short_story_template> <template_title>{*actor*} just challenged {*target*} to a game of {*game*}.</template_title> <template_body>{*actor*} just challenged {*target*} to a game of {*game*}.</template_body> </short_story_template> </short_story_templates> <time_created>1212692444</time_created> <template_bundle_id>16487752716</template_bundle_id> </template_bundle> </feed_getRegisteredTemplateBundles_response>

See Also

reference