mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-05-31 23:20:02 +02:00
822 B
822 B
sidebar_position
sidebar_position |
---|
2 |
Get token
Gets the token by the code received when authorizing using the link from GetAuthorizationLink
Function GetToken(Val Code, Val Parameters = "") Export
Parameter | CLI option | Type | Description |
---|---|---|---|
Code | --code | String | Code obtained from authorization See GetAuthorizationLink |
Parameters | --auth | Structure Of String | Auth data or path to .json file |
Returns: Map Of KeyAndValue - serialized JSON response from Twitter
Response = OPI_Twitter.GetToken(Code, Parameters);
Response = OPI_Tools.JSONString(Response);
oint twitter GetToken --code %code% --auth %auth%