# Get

Required Frends version: 5.1+

Required .NET version: 471, 6.0

Compatible Agents: Legacy, Crossplatform

Source code: <https://github.com/FrendsPlatform/Frends.Facebook/tree/main/Frends.Facebook.Get>

{% tabs %}
{% tab title="Parameter: Input" %}

| Name                       | Description                                                                                                                                                                                                                                     |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Reference : `String`       | <p>Gets or sets object id or reference. All reference types can be found from: <https://developers.facebook.com/docs/graph-api/reference>.</p><p><br>Default: <code>123456789</code><br>Example: <code>123456789, 123456789/insights</code></p> |
| QueryParameters : `String` | <p>Gets or sets query parameters.</p><p><br>Default: <code>fields=name,id</code><br>Example: <code>metrics=id,name</code></p>                                                                                                                   |
| ApiVersion : `String`      | <p>Gets or sets API version.</p><p><br>Default: <code>18.0</code><br>Example: <code>18.0</code></p>                                                                                                                                             |
| 🗝AccessToken : `String`   | <p>Gets or sets authentication bearer token.</p><p><br>Default: <code>BearerToken1234</code><br>Example: <code>BearerToken1234</code></p>                                                                                                       |
| {% endtab %}               |                                                                                                                                                                                                                                                 |

{% tab title="Parameter: Options" %}

| Name                            | Description                                                                                                                                                                                                                                                                                 |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ThrowErrorOnFailure : `Boolean` | <p>Gets or sets a value indicating whether error should throw an exception (true) or stop the Task and return result object containing Result.Success = false and Result.ErrorMessage = 'exception message' (false).</p><p><br>Default: <code>True</code><br>Example: <code>true</code></p> |
| {% endtab %}                    |                                                                                                                                                                                                                                                                                             |

{% tab title="Result: Result" %}

| Name                | Description                                                                                               |
| ------------------- | --------------------------------------------------------------------------------------------------------- |
| Success : `Boolean` | <p>Gets a value indicating whether GET call was executed successfully.<br>Example: <code>True.</code></p> |
| Message : `Object`  | <p>Gets message from the interface.<br>Example: <code>Example of the output.</code></p>                   |
| {% endtab %}        |                                                                                                           |
| {% endtabs %}       |                                                                                                           |
