[This is preliminary documentation and is subject to change.]

Builds a template bundle around the specified templates, registers them on Facebook, and responds with a template bundle ID that can be used to identify your template bundle to other Feed-related API calls.

Namespace:  Facebook.Api.Controllers
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
public FacebookResponse<long> RegisterTemplateBundle(
	string[] oneLineStoryTemplates,
	string[] shortStoryTemplates
)
Visual Basic (Declaration)
Public Function RegisterTemplateBundle ( _
	oneLineStoryTemplates As String(), _
	shortStoryTemplates As String() _
) As FacebookResponse(Of Long)
Visual C++
public:
FacebookResponse<long long>^ RegisterTemplateBundle(
	array<String^>^ oneLineStoryTemplates, 
	array<String^>^ shortStoryTemplates
)

Parameters

oneLineStoryTemplates
Type: array< System..::.String >[]()[]
A JSON-encoded array containing one FBML template that can be used to render one line Feed stories.
shortStoryTemplates
Type: array< System..::.String >[]()[]
A JSON-encoded array containing an object, which represents a short story template. The dictionary should include two fields:
CopyC#
template_title
, which should be mapped to the FBML template used to render a short story's title, and
CopyC#
template_body
, which should map to the FBML template used to render a short story's body. The token set of a short story template is taken to be the union of the
CopyC#
template_title
and the
CopyC#
template_body
templates.

Return Value

[Missing <returns> documentation for "M:Facebook.Api.Controllers.FeedController.RegisterTemplateBundle(System.String[],System.String[])"]

See Also

FeedController Class
RegisterTemplateBundle Overload
Facebook.Api.Controllers Namespace