SocialEngagement クラス
ソーシャルネットワークのソーシャル取引先またはファンページについての情報を管理します。
名前空間
SocialEngagement メソッド
SocialEngagement のメソッドは次のとおりです。すべてのメソッドが静的です。
followSocialPersona(socialPersonaId, socialAccountId)
API バージョン
45.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.FollowSocialPersonaIntent followSocialPersona(String socialPersonaId, String socialAccountId)
パラメータ
followSocialPostPersona(socialPostId, socialAccountId)
API バージョン
45.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.FollowSocialPersonaIntent followSocialPostPersona(String socialPostId, String socialAccountId)
パラメータ
getIntents(socialPostId)
API バージョン
45.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.SocialPostIntents getIntents(String socialPostId)
パラメータ
- socialPostId
- 型: String
- ソーシャル投稿の ID。
戻り値
getManagedSocialAccount(id)
組織内にあり、ユーザに割り当てられている管理ソーシャル取引先を取得します。
API バージョン
44.0
Chatter が必要かどうか
はい
署名
public static ConnectApi.ManagedSocialAccount getManagedSocialAccount(String id)
パラメータ
- id
- 型: String
- 説明: この管理ソーシャル取引先の内部 SFDC ID。
getManagedSocialAccounts()
組織内にあり、ユーザに割り当てられている管理ソーシャルアカウントのリストを取得します。
API バージョン
44.0
Chatter が必要かどうか
はい
署名
public static ConnectApi.ManagedSocialAccounts getManagedSocialAccounts()
getManagedSocialAccounts(socialNetwork)
組織内にあり、ユーザに割り当てられている管理ソーシャル取引先のリストを取得します。
API バージョン
44.0
Chatter が必要かどうか
はい
署名
public static ConnectApi.ManagedSocialAccounts getManagedSocialAccounts(ConnectApi.SocialNetworkProvider socialNetwork)
パラメータ
- socialNetwork
- 型: ConnectApi.SocialNetworkProvider
- 説明: ソーシャルネットワークに基づいて結果を絞り込みます。値は次のとおりです。
- GooglePlus
- InstagramBusiness
- KakaoTalk
- Kik
- Line
- Messenger
- Other
- Rypple
- SinaWeibo
- SMS
- Snapchat
- Telegram
- VKontakte
- YouTube