1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-07 07:10:01 +02:00
OpenIntegrations/docs/en/md/Twitter/Data-and-settings/Get-authorization-link.md
Vitaly the Alpaca (bot) 2e85cb9d03 Main build (Jenkins)
2024-09-29 21:40:58 +03:00

1.1 KiB

sidebar_position
1

Get authorization link

Forms a link for authorization via the browser

Function GetAuthorizationLink(Parameters = "") Export

Parameter CLI option Type Description
Parameters --auth Structure Of String Auth data or path to .json file

Returns: String - URL for browser transition


    Parameters = GetTwitterAuthData();
    Result     = OPI_Twitter.GetAuthorizationLink(Parameters);
    
  oint twitter GetAuthorizationLink --auth %auth%

"https://twitter.com/i/oauth2/authorize?response_type=code&client_id=ZG1vSmxlVTJXYi05M2c0ek9iV246MTpjaQ&redirect_uri=https://api.athenaeum.digital/opi/hs/twitter&scope=tweet.read%20tweet.write%20tweet.moderate.write%20users.read%20follows.read%20follows.write%20offline.access%20space.read%20mute.read%20mute.write%20like.read%20like.write%20list.read%20list.write%20block.read%20block.write%20bookmark.read%20bookmark.write&state=state&code_challenge=challenge&code_challenge_method=plain"