Timeline Studio API Documentation - v0.26.0
Preparing search index...
features/export/services/social-networks-service
SocialNetworksService
Class SocialNetworksService
Index
Constructors
constructor
Methods
get
Optimal
Settings
get
Stored
User
Info
get
User
Info
is
Logged
In
login
logout
refresh
Token
If
Needed
upload
Video
validate
Settings
validate
Video
File
Constructors
constructor
new
SocialNetworksService
()
:
SocialNetworksService
Returns
SocialNetworksService
Methods
Static
get
Optimal
Settings
getOptimalSettings
(
network
:
string
)
:
Partial
<
SocialExportSettings
>
Parameters
network
:
string
Returns
Partial
<
SocialExportSettings
>
Static
get
Stored
User
Info
getStoredUserInfo
(
network
:
string
)
:
any
Parameters
network
:
string
Returns
any
Static
get
User
Info
getUserInfo
(
network
:
string
,
accessToken
?:
string
)
:
Promise
<
any
>
Parameters
network
:
string
Optional
accessToken
:
string
Returns
Promise
<
any
>
Static
is
Logged
In
isLoggedIn
(
network
:
string
)
:
Promise
<
boolean
>
Parameters
network
:
string
Returns
Promise
<
boolean
>
Static
login
login
(
network
:
string
)
:
Promise
<
boolean
>
Parameters
network
:
string
Returns
Promise
<
boolean
>
Static
logout
logout
(
network
:
string
)
:
Promise
<
void
>
Parameters
network
:
string
Returns
Promise
<
void
>
Static
refresh
Token
If
Needed
refreshTokenIfNeeded
(
network
:
string
)
:
Promise
<
boolean
>
Parameters
network
:
string
Returns
Promise
<
boolean
>
Static
upload
Video
uploadVideo
(
network
:
string
,
videoFile
:
Blob
|
File
,
settings
:
SocialExportSettings
,
onProgress
?:
(
progress
:
number
)
=>
void
,
)
:
Promise
<
SocialUploadResult
>
Parameters
network
:
string
videoFile
:
Blob
|
File
settings
:
SocialExportSettings
Optional
onProgress
:
(
progress
:
number
)
=>
void
Returns
Promise
<
SocialUploadResult
>
Static
validate
Settings
validateSettings
(
network
:
string
,
settings
:
SocialExportSettings
)
:
string
[]
Parameters
network
:
string
settings
:
SocialExportSettings
Returns
string
[]
Static
validate
Video
File
validateVideoFile
(
network
:
string
,
file
:
File
)
:
Promise
<
string
[]
>
Parameters
network
:
string
file
:
File
Returns
Promise
<
string
[]
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Optimal
Settings
get
Stored
User
Info
get
User
Info
is
Logged
In
login
logout
refresh
Token
If
Needed
upload
Video
validate
Settings
validate
Video
File
Timeline Studio API Documentation - v0.26.0
Loading...