Difference between revisions of "TwitterSocialAdapter"
Line 6: | Line 6: | ||
The other calls are the following: | The other calls are the following: | ||
− | * updateStatus(java.lang.String status) sends a tweet. | + | * ''updateStatus(java.lang.String status)'' sends a tweet. |
The status is the message to tweet. | The status is the message to tweet. | ||
− | * retweetStatus(long statusId) retweets a tweet identified by its Id. | + | * ''retweetStatus(long statusId)'' retweets a tweet identified by its Id. |
− | * sendDirectMessage(long userId, java.lang.String text) sends a message directly to a user. | + | * ''sendDirectMessage(long userId, java.lang.String text)'' sends a message directly to a user. |
− | * enableNotification(long userId) follows a Twitter account. | + | * ''enableNotification(long userId)'' follows a Twitter account. |
− | * disableNotification(long userId) unfollows a Twitter account. | + | * ''disableNotification(long userId)'' unfollows a Twitter account. |
− | * getFollowersIDs(long userId, long cursor) gets the list of the account's followers. | + | * ''getFollowersIDs(long userId, long cursor)'' gets the list of the account's followers beginning from the ''cursor'' position. |
− | * getFriendsIDs(long cursor) gets the list of the account's friends, that is the followed accounts. | + | * ''getFriendsIDs(long cursor)'' gets the list of the account's friends, that is the followed accounts. |
Revision as of 09:30, 8 October 2012
Twitter adapter is an implementation of the Social Adapter dedicated to [[ http://twitter.com Twitter] platform. It can be called as specified into GVSocialAdapter-Configuration specifying a method name to call, or with some custom function reflecting Twitter ones.
Please refer to GVSocialAdapter-Configuration to see the generic call.
The other calls are the following:
- updateStatus(java.lang.String status) sends a tweet.
The status is the message to tweet.
- retweetStatus(long statusId) retweets a tweet identified by its Id.
- sendDirectMessage(long userId, java.lang.String text) sends a message directly to a user.
- enableNotification(long userId) follows a Twitter account.
- disableNotification(long userId) unfollows a Twitter account.
- getFollowersIDs(long userId, long cursor) gets the list of the account's followers beginning from the cursor position.
- getFriendsIDs(long cursor) gets the list of the account's friends, that is the followed accounts.