[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.4.13 (0.2009.4.13)

Syntax

C#
public FacebookResponse<FacebookList<Metrics>> GetMetrics(
	long startTime,
	long endTime,
	long period,
	string metrics
)
Visual Basic (Declaration)
Public Function GetMetrics ( _
	startTime As Long, _
	endTime As Long, _
	period As Long, _
	metrics As String _
) As FacebookResponse(Of FacebookList(Of Metrics))
Visual C++
public:
FacebookResponse<FacebookList<Metrics^>^>^ GetMetrics(
	long long startTime, 
	long long endTime, 
	long long period, 
	String^ metrics
)

Parameters

startTime
Type: System..::.Int64
A Unix time for the start of the range (inclusive).
endTime
Type: System..::.Int64
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: System..::.Int64
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: 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.Int64,System.Int64,System.Int64,System.String)"]

See Also

AdminController Class
GetMetrics Overload
Facebook.Api.Controllers Namespace