GetSocialPublishURL
Retrieves the URL of a social network from a lookup table and creates a link to that social network for use with content to be shared from an email. The optional pairs of parameters refer to additional information like ShareThis publisher ID numbers and logins. You can include multiple name and value pairs. Use this function with the Social Forward feature.
GetSocialPublishURL(1, 2, 3, 4)
Ordinal | Type | Description | |
---|---|---|---|
1 | numeric | Required | Number of the social network on the lookup table |
2 | string | Required | Name of the content area to share to the social network |
3 | string | Name of optional parameter | |
4 | string | Value of optional parameter |
In the pasted HTML code below, the GetSocialPublishURL() function creates a link to Facebook in order to share the specified content area on that network.
Social Network | Number Code |
---|---|
1 | |
Del.icio.us | 2 |
Digg | 3 |
MySpace | 4 |
StumbleUpon | 5 |
6 | |
Microsoft | 7 |
Yahoo | 8 |
9 | |
ShareThis | 10 |
11 | |
Google+ | 15 |