2024-12-16 15:44:01 +03:00
---
sidebar_position: 4
2025-08-13 16:57:49 +03:00
description: Handle incoming request after authorization and other functions to work with Twitter in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
2025-05-05 09:49:19 +03:00
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Twitter]
2024-12-16 15:44:01 +03:00
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
2025-08-13 16:57:49 +03:00
# Handle incoming request after authorization
Method for insertion into an http service, the address of which is specified in redirect_uri
2024-12-16 15:44:01 +03:00
2025-08-13 16:57:49 +03:00
`Function HandleIncomingRequestAfterAuthorization(Request) Export`
2024-12-16 15:44:01 +03:00
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
2024-12-16 20:23:39 +03:00
| Request | - | HTTPServiceRequest | ✔ | Request coming to the http service |
2024-12-16 15:44:01 +03:00
Returns: HTTPResponse, Arbitrary, BinaryData - Result of reading the JSON response from the server
<br/>
2025-08-13 16:57:49 +03:00
:::tip
Calls the token acquisition method, as for obtaining a token from the code received on redirect_uri after authorization via the browser is only 30 seconds
:::
2024-12-16 15:44:01 +03:00
2024-12-16 19:16:01 +03:00
:::caution
2024-12-25 13:09:29 +03:00
**NOCLI:** this method is not available in CLI version
2024-12-16 19:16:01 +03:00
:::
<br/>
2024-12-16 15:44:01 +03:00
2024-12-16 19:38:57 +03:00
2024-12-16 15:44:01 +03:00
```bsl title="1C:Enterprise/OneScript code example"
```
2024-12-16 19:16:01 +03:00
2024-12-16 15:44:01 +03:00