Feed.getRegisteredTemplateBundleByID
From Facebook Developers Wiki
[edit] Description
Retrieves information about a specified template bundle previously registered by the requesting application.
[edit] Parameters
| Required | Name | Type | Description | |
| required | api_key | string | The application key associated with the calling application. | |
|---|---|---|---|---|
| sig | string | An MD5 hash of the current request and your secret key, as described in the authentication guide. | ||
| v | string | This must be set to 1.0 to use this version of the API. | ||
| template_bundle_id | string | The template bundle ID used to identify a previously registered template bundle. The ID is the one returned by a previous call to feed.registerTemplateBundle. | ||
| optional | format | string | Desired response format. Either XML (default) or JSON. |
[edit] Example Return XML
| <?xml version="1.0" encoding="UTF-8"?> <feed_getRegisteredTemplateBundleByID_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"> <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> <full_story_template> <template_title>{*actor*} is playing {*game*} with {*target*}</template_title> <template_body>{*actor*} is playing {*game*} with {*target*}.</template_body> </full_story_template> <time_created>1213995448</time_created> <template_bundle_id>17869702716</template_bundle_id> </feed_getRegisteredTemplateBundleByID_response> |
