# Get

Required Frends version: 5.1+

Required .NET version: 471, 6.0

Compatible Agents: Legacy, Crossplatform

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

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

| Name                     | Description                                                                                                                                                                                                                                                                             |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ObjectId : `String`      | <p>Gets or sets object ID of the reference.</p><p><br>Default: <code>-</code><br>Example: <code>123456789</code></p>                                                                                                                                                                    |
| References : `String`    | <p>Gets or sets references.</p><p>All reference types can be found from: <https://developers.facebook.com/docs/instagram-api/reference></p><p><br>Default: <code>-</code><br>Example: <code>/accounts ?fields=foo\&metric=bar /ig\_hashtag\_search?user\_id={user-id}\&q={q}</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 access token.</p><p><br>Default: <code>-</code><br>Example: <code>abc123</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> |
| Data : `Object`         | <p>Gets GET request data.<br>Example: <code>Example of the output.</code></p>                            |
| ErrorMessage : `String` | <p>Gets error message.<br>Example: <code>An error occured...</code></p>                                  |
| {% endtab %}            |                                                                                                          |
| {% endtabs %}           |                                                                                                          |
