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

Returns specified metrics for your application, given a time period.

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

Syntax

C#
public FacebookResponse<FacebookList<Metrics>> GetMetrics(
	DateTime startTime,
	DateTime endTime,
	ApplicationMetricPeriod period,
	params string[] metrics
)
Visual Basic (Declaration)
Public Function GetMetrics ( _
	startTime As DateTime, _
	endTime As DateTime, _
	period As ApplicationMetricPeriod, _
	ParamArray metrics As String() _
) As FacebookResponse(Of FacebookList(Of Metrics))
Visual C++
public:
FacebookResponse<FacebookList<Metrics^>^>^ GetMetrics(
	DateTime startTime, 
	DateTime endTime, 
	ApplicationMetricPeriod period, 
	... array<String^>^ metrics
)

Parameters

startTime
Type: System..::.DateTime
A Unix time for the start of the range (inclusive).
endTime
Type: System..::.DateTime
A Unix time for the end of the range (inclusive). The
CopyC#
end_time
cannot be more than 30 days after the
CopyC#
start_time
.
period
Type: Facebook.Api..::.ApplicationMetricPeriod
The length of the period, in seconds, during which the metrics were collected. Currently, the only supported periods are 86400 (1 day), 604800 (7-days), and 2592000 (30 days).
metrics
Type: array< System..::.String >[]()[]
A JSON-encoded list of metrics to retrieve (e.g.
CopyC#
["active_users", "canvas_page_views"]
).

Return Value

[Missing <returns> documentation for "M:Facebook.Api.Controllers.AdminController.GetMetrics(System.DateTime,System.DateTime,Facebook.Api.ApplicationMetricPeriod,System.String[])"]

See Also

AdminController Class
GetMetrics Overload
Facebook.Api.Controllers Namespace