Feed.getRegisteredTemplateBundleByID
From Facebook Developer Wiki
Contents |
Description
Facebook has discontinued support for this method.
Please use stream.publish, FB.Connect.streamPublish, and Facebook.streamPublish instead. For more information, please read the Developer Roadmap.
Retrieves information about a specified template bundle previously registered by the requesting application.
Parameters
| Required | Name | Type | Description | |
| 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. | ||
| 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 | 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_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>
<time_created>1213995448</time_created>
<template_bundle_id>17869702716</template_bundle_id>
</feed_getRegisteredTemplateBundleById_response>
Error Codes
For a complete list of error codes, see Error codes.
