SocialComposer.AddURL
---------------------

Adds a URL to the post.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SocialComposer](component_SocialComposer.md) | [7.3](newinversion73.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "SocialComposer.AddURL"; URL ) 

**MBS**( **"SocialComposer.AddURL";** /\* Adds a URL to the post. \*/  
**$URL**) /\* The URL to add.e.g. "https://www.mbsplugins.de/filemaker" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| URL | The URL to add. | "https://www.mbsplugins.de/filemaker" |

### Result

Returns OK or error.

### Description

Adds a URL to the post.   
Returns error if the additional URL will not fit within the character space currently available, or if the sheet has already been presented to the user.  
### Examples

Add an URL:

 Set Variable \[ $r ; Value: MBS ( "SocialComposer.AddURL"; "https://www.monkeybreadsoftware.com/filemaker/") \]  
### See also

- [SocialComposer.New](SocialComposerNew.md)
- [SocialComposer.Present](SocialComposerPresent.md)
- [SocialComposer.Result](SocialComposerResult.md)

### Example Databases

- [iOS/Examples/iOS Social Posting](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/iOS/Examples/iOS%20Social%20Posting.shtml#4ScriptAnchor_)

This function is free to use.

Created 11st June 2017 , last changed 25th January 2024

  
[SocialComposer.AddImageFile](SocialComposerAddImageFile.md) - [SocialComposer.Dismiss](SocialComposerDismiss.md)

[HTML Version](SocialComposerAddURL.shtml)