public interface SocialApplication
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the application name
|
java.lang.String |
getPostLink(SocialPostLinkParams params)
Returns the link to the SM network for an individual post.
|
SocialPublisher |
getPublisher()
Returns a publisher with no token associated.
|
java.lang.String |
setUpApp(java.lang.String appId,
java.lang.String appToken,
java.lang.String hostname,
SocialAction socialAction)
Sets up the SM application.
|
java.lang.String setUpApp(java.lang.String appId, java.lang.String appToken, java.lang.String hostname, SocialAction socialAction) throws SocialException
appId
- Application IDappToken
- Application Secrethostname
- Web application hostname (ex.: https://localhost:4502)socialAction
- Action executed after OAuthSocialException
- Thrown if the login URL cannot be built.java.lang.String getName()
java.lang.String getPostLink(SocialPostLinkParams params) throws SocialException
params
- containing:
spaceId - Page/Board where the post exists
postId - the ID of the postSocialException
- Thrown if the social media URL cannot be built.SocialPublisher getPublisher()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"