Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Checks if we do have permissions for this type of service.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Social | 5.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
This function was deprecated.
Parameter | Description | Example |
---|---|---|
Type | The type of accounts to checks.Can be Twitter, Facebook, SinaWeibo, TencentWeibo or LinkedIn. | "Twitter" |
Returns 0, 1 or error.
Check permissions:
Set Variable [$r; Value:MBS( "Social.HasAccessForAccountType"; "Twitter" )]
If [$r = 1]
Show Custom Dialog ["Permissions"; "We do have permissions for Twitter."]
Else If [$r = 0]
Show Custom Dialog ["Permissions"; "We don't have permissions for Twitter."]
Else
Show Custom Dialog ["Permissions"; "Failed to check: " & $r]
End If
Created 28th August 2015, last changed 12nd June 2020
Social.Accounts - Social.RequestAccessForAccountType
Feedback: Report problem or ask question.