Overview

Summary

ContactDonateImprint


Appendix E-28: FOLLOW (UI prompt)


FollowDirectMessageConversationModuleTwitterX

Properties (6)

PropertyTypeEntityReferenceModule
(1) CreatedAtSTRINGFollow
(2) FollowedUserLONGFollowUserAccountUserAccountModule
(3) FollowerUserLONGFollowUserAccountUserAccountModule
(4) IsBlockedBOOLFollow
(5) IsMutedBOOLFollow
(6) IsNotificationsEnabledBOOLFollow


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /followinsertFollow(follow)DirectMessageConversationModulePOSTFollow
(2) /follow/{id}deleteFollowById(id)DirectMessageConversationModuleDELETEFollow
(3) /follow/{id}findFollowById(id)DirectMessageConversationModuleGETFollow
(4) /follow/{id}updateFollowById(follow)DirectMessageConversationModulePUTFollow
(5) /follow/followeruser/{id}findAllFollowOfFollowerUser(id)DirectMessageConversationModuleGETUserAccount Follow
(6) /follow/followeduser/{id}findAllFollowOfFollowedUser(id)DirectMessageConversationModuleGETUserAccount Follow
(7) /followfindAllFollow()DirectMessageConversationModuleGETFollow





Example:

final Follow follow = (Follow) invokeModule(DIRECT_MESSAGE_CONVERSATION_MODULE + "/follow/" + id, Follow.class);
if (follow != null) {
    final UserAccount followeduser1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + follow.getFollowedUser().getId(), UserAccount.class);
    if (followeduser1 != null) {
    }
    final UserAccount followeruser2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + follow.getFollowerUser().getId(), UserAccount.class);
    if (followeruser2 != null) {
    }
}
return follow;


Overview

Summary

ContactDonateImprint