|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.shephertz.app42.paas.sdk.jme.social.SocialService
public class SocialService
Connect to the User's multiple social accounts. Also used to update the status individually or all at once for the linked social accounts.
Constructor Summary | |
---|---|
SocialService(java.lang.String apiKey,
java.lang.String secretKey,
java.lang.String baseURL)
The costructor for the Service |
Method Summary | |
---|---|
Social |
linkUserFacebookAccount(java.lang.String userName,
java.lang.String accessToken)
Links the User Facebook access credentials to the App User account. |
Social |
linkUserFacebookAccount(java.lang.String userName,
java.lang.String accessToken,
java.lang.String appId,
java.lang.String appSecret)
Links the User Facebook access credentials to the App User account. |
Social |
linkUserLinkedInAccount(java.lang.String userName,
java.lang.String accessToken,
java.lang.String accessTokenSecret)
Links the User LinkedIn access credentials to the App User account. |
Social |
linkUserLinkedInAccount(java.lang.String userName,
java.lang.String accessToken,
java.lang.String accessTokenSecret,
java.lang.String apiKey,
java.lang.String secretKey)
Links the User LinkedIn access credentials to the App User account. |
Social |
linkUserTwitterAccount(java.lang.String userName,
java.lang.String accessToken,
java.lang.String accessTokenSecret)
Links the User Twitter access credentials to the App User account. |
Social |
linkUserTwitterAccount(java.lang.String userName,
java.lang.String accessToken,
java.lang.String accessTokenSecret,
java.lang.String consumerKey,
java.lang.String consumerSecret)
Links the User Twitter access credentials to the App User account. |
Social |
updateFacebookStatus(java.lang.String userName,
java.lang.String status)
Updates the Facebook status of the specified user. |
Social |
updateLinkedInStatus(java.lang.String userName,
java.lang.String status)
Updates the LinkedIn status of the specified user. |
Social |
updateSocialStatusForAll(java.lang.String userName,
java.lang.String status)
Updates the status for all linked social accounts of the specified user. |
Social |
updateTwitterStatus(java.lang.String userName,
java.lang.String status)
Updates the Twitter status of the specified user. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocialService(java.lang.String apiKey, java.lang.String secretKey, java.lang.String baseURL)
apiKey
- secretKey
- baseURL
- Method Detail |
---|
public Social linkUserFacebookAccount(java.lang.String userName, java.lang.String accessToken) throws App42Exception
userName
- - Name of the user whose Facebook account to be linkedaccessToken
- - Facebook Access Token that has been received after
authorization
App42Exception
public Social linkUserFacebookAccount(java.lang.String userName, java.lang.String accessToken, java.lang.String appId, java.lang.String appSecret) throws App42Exception
userName
- - Name of the user whose Facebook account to be linkedaccessToken
- - Facebook Access Token that has been received after
authorizationappId
- - Facebook App IdappSecret
- - Facebook App Secret
App42Exception
public Social linkUserLinkedInAccount(java.lang.String userName, java.lang.String accessToken, java.lang.String accessTokenSecret) throws App42Exception
userName
- - Name of the user whose LinkedIn account to be linkedaccessToken
- - LinkedIn Access Token that has been received after
authorizationaccessTokenSecret
- - LinkedIn Access Token Secret that has been received after
authorization
App42Exception
public Social linkUserLinkedInAccount(java.lang.String userName, java.lang.String accessToken, java.lang.String accessTokenSecret, java.lang.String apiKey, java.lang.String secretKey) throws App42Exception
userName
- - Name of the user whose LinkedIn account to be linkedapiKey
- - LinkedIn App API KeysecretKey
- - LinkedIn App Secret KeyaccessToken
- - LinkedIn Access Token that has been received after
authorizationaccessTokenSecret
- - LinkedIn Access Token Secret that has been received after
authorization
App42Exception
public Social linkUserTwitterAccount(java.lang.String userName, java.lang.String accessToken, java.lang.String accessTokenSecret) throws App42Exception
userName
- - Name of the user whose Twitter account to be linkedaccessToken
- - Twitter Access Token that has been received after
authorizationaccessTokenSecret
- - Twitter Access Token Secret that has been received after
authorization
App42Exception
public Social linkUserTwitterAccount(java.lang.String userName, java.lang.String accessToken, java.lang.String accessTokenSecret, java.lang.String consumerKey, java.lang.String consumerSecret) throws App42Exception
userName
- - Name of the user whose Twitter account to be linkedconsumerKey
- - Twitter App Consumer KeyconsumerSecret
- - Twitter App Consumer SecretaccessToken
- - Twitter Access Token that has been received after
authorizationaccessTokenSecret
- - Twitter Access Token Secret that has been received after
authorization
App42Exception
public Social updateFacebookStatus(java.lang.String userName, java.lang.String status) throws App42Exception
userName
- - Name of the user for whom the status needs to be updatedstatus
- - status that has to be updated
App42Exception
public Social updateLinkedInStatus(java.lang.String userName, java.lang.String status) throws App42Exception
userName
- - Name of the user for whom the status needs to be updatedstatus
- - status that has to be updated
App42Exception
public Social updateSocialStatusForAll(java.lang.String userName, java.lang.String status) throws App42Exception
userName
- - Name of the user for whom the status needs to be updatedstatus
- - status that has to be updated
App42Exception
public Social updateTwitterStatus(java.lang.String userName, java.lang.String status) throws App42Exception
userName
- - Name of the user for whom the status needs to be updatedstatus
- - status that has to be updated
App42Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |