Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SocialRequest.GetParameterCount
Queries number of parameters for this request.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Social | 5.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Deprecated
This function was deprecated.
Parameters
Parameter | Description | Example |
---|---|---|
Request | The reference number for the social request as you got it from SocialRequest.New function. | $request |
Result
Returns number or error.
Description
Queries number of parameters for this request.Examples
Test parameters:
Set Variable [ $request ; Value: MBS( "SocialRequest.New"; "Twitter"; "https://api.twitter.com/1.1/statuses/update.json"; "POST") ]
Show Custom Dialog [ "URL" ; MBS( "SocialRequest.GetParameterCount"; $Request ) ]
Set Variable [ $r ; Value: MBS( "SocialRequest.AddParameter"; $request; "test"; "value") ]
Show Custom Dialog [ "URL" ; MBS( "SocialRequest.GetParameterCount"; $Request ) ]
Set Variable [ $r ; Value: MBS( "SocialRequest.ClearParameter"; $request) ]
Show Custom Dialog [ "URL" ; MBS( "SocialRequest.GetParameterCount"; $Request ) ]
Set Variable [ $r ; Value: MBS( "SocialRequest.Release"; $request) ]
See also
This function is free to use.
Created 28th August 2015, last changed 12nd June 2020
SocialRequest.GetMultiPartDataCount - SocialRequest.GetRequestMethod