GetSocialPublishURL

概要 

検索テーブルからソーシャルネットワークの URL を取得し、メールから共有されるコンテンツで使用するそのソーシャルネットワークへのリンクを作成します。省略可能なパラメーターのペアは、ShareThis パブリッシャー ID 番号やログインなどの追加情報を参照します。複数の名前と値のペアを含めることができます。この関数は、ソーシャル転送機能と共に使用します。

構文 

GetSocialPublishURL(1, 2, 3, 4)

関数のプロパティ 

序数説明
1numeric必須検索テーブルのソーシャルネットワークの番号
2string必須ソーシャルネットワークと共有するコンテンツ領域の名前
3string省略可能なパラメーターの名前
4string省略可能なパラメーターの値

使用状況 

以下の貼り付けられた HTML コードでは、GetSocialPublishURL() 関数が Facebook へのリンクを作成し、そのネットワークで指定されたコンテンツ領域を共有します。

ソーシャルネットワーク番号コード
Facebook1
Del.icio.us2
Digg3
MySpace4
StumbleUpon5
Google6
Microsoft7
Yahoo8
LinkedIn9
ShareThis10
Twitter11
Google+15
1<!-- RegionStart[ name:'Shared content region 1',
2title:'First shared email content',
3description:'This is an example of shared content',
4csskey:'portfolio css 1'] -->
5<tablewidth='100%'bgcolor='#FFFFFF'border='0'bordercolor=''cellpadding='5'cellspacing='0'>
6<tr>
7<tdstyle='font-family:Arial; font-size:13px'>
8<imgsrc='http://example.com/images/logo.jpg' title='logo'align='left'border='0'/>
9<p id='text-placeholder'style='margin-top: 0px; margin-bottom: 0px;'>This is an example of a shared content area!&amp;nbsp; Please feel free to pass on this information!<br/>
10<br/></p>
11<!-- Creates a link to share this content with facebook -->
12<a href='%%=GetSocialPublishURL('1','Shared content region 1')=%%'
13alias='Social Forward to Facebook'
14title='Publish to Facebook'>
15<img src='http://images.dev2.et.local/lib/ffcf14/m/1/social_default_facebook_icon.jpg' alt='Facebook' title='Facebook' border='0'></a>
16</td>
17</tr>
18</table>
19<!-- RegionEnd[ name:'Shared content region 1'] -->