Feed.getRegisteredTemplateBundles
From Facebook Developers Wiki
[edit] Description
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.
[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 How Facebook Authenticates Your Application. | ||
| v | string | This must be set to 1.0 to use this version of the API. | ||
| optional | format | string | Desired response format. Either XML (default) or JSON. |
[edit] 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> <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> </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> <full_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> </full_story_template> <time_created>1212692444</time_created> <template_bundle_id>16487752716</template_bundle_id> </template_bundle> </feed_getRegisteredTemplateBundles_response> |
