Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the request method for this request.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Social | 5.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
This function was deprecated.
Parameter | Description | Example |
---|---|---|
Request | The reference number for the social request as you got it from SocialRequest.New function. | $request |
RequestMethod | What request method to use. Can be DELETE, PUT, POST or GET. | "POST" |
Returns OK or error.
Sets request:
Set Variable [$request; Value:MBS( "SocialRequest.New"; "Twitter"; "https://api.twitter.com/1.1/statuses/update.json")]
Set Variable [$r; Value:MBS( "SocialRequest.SetRequestMethod"; $request; "POST")]
This function is free to use.
Created 28th August 2015, last changed 12nd June 2020