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  

Social.AccountProperty

Queries details of an account.

Component Version macOS Windows Linux Server iOS SDK
Social 5.3 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes

Deprecated

This function was deprecated.

MBS( "Social.AccountProperty"; accountIdentifier; Selector )   More

Parameters

Parameter Description Example
accountIdentifier The ID for the account.
Selector Which value to return. Can be identifier, accountDescription, username, credential, accountType or accountTypeIdentifier. "username"

Result

Returns value or error.

Description

Queries details of an account.
Please use Social.Accounts function to find account identifiers.

Examples

List Twitter Accounts

Go to Layout [“Accounts” (Accounts)]
Delete All Records [No dialog]
Set Variable [$list; Value:MBS( "Social.Accounts"; "Twitter" )]
If [MBS("IsError")]
    Show Custom Dialog ["Error finding accounts"; $list]
Else
    Set Variable [$count; Value:ValueCount ( $list )]
    If [$count > 0]
        Set Variable [$i; Value:1]
        Loop
            Set Variable [$accountIdentifier; Value:GetValue ( $list ; $i )]
            New Record/Request
            Set Field [Accounts::Identifier; MBS( "Social.AccountProperty"; $accountIdentifier; "Identifier" )]
            Set Field [Accounts::Description; MBS( "Social.AccountProperty"; $accountIdentifier; "Description" )]
            Set Field [Accounts::Username; MBS( "Social.AccountProperty"; $accountIdentifier; "username" )]
            Set Field [Accounts::Type; MBS( "Social.AccountProperty"; $accountIdentifier; "accountType" )]
            Commit Records/Requests [No dialog]
            Set Variable [$i; Value:$i + 1]
            Exit Loop If [$i >= $count]
        End Loop
    End If
End If

See also

Example Databases

Created 28th August 2015, last changed 12nd June 2020


SmartCard.Valid - Social.Accounts

Feedback: Report problem or ask question.