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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SocialComposer.IsAvailableForServiceType
Queries whether a social service is available.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| SocialComposer | 7.3 | No | No | No | No | Yes |
Deprecated
This function was deprecated.
Parameters
| Parameter | Description | Example |
|---|---|---|
| Type | The social service type. Can be Facebook, Twitter, SinaWeibo or TencentWeibo. |
"Facebook" |
Result
Returns OK or error.
Description
Queries whether a social service is available.Returns 1 if available or 0.
This function can be called before having a composer initialized.
Examples
Check for availability:
Set Variable [ $r ; Value: MBS( "SocialComposer.IsAvailableForServiceType"; PlaceHolder::Service ) ]
If [ $r ≠ 1 ]
Show Custom Dialog [ "Can't send message." ; "This iOS device is not configured to post on " & PlaceHolder::Service & "." ]
Exit Script [ Text Result: "failed" ]
End If
See also
Example Databases
Created 11st June 2017, last changed 12nd June 2020
SocialComposer.ImageCount - SocialComposer.IsPresented
Feedback: Report problem or ask question.
Links
MBS FileMaker blog