Overview

Summary

ContactDonateImprint


7. TWEET MODULE (UI prompt)



Module Entities (10)

EntityAliasModuleGlobal Schema
(1) CampaignCampaignCampaignModuleTwitterX
(2) MediaMediaListModuleTwitterX
(3) PollPollTweetModuleTwitterX
(4) PollOptionPollOptionTweetModuleTwitterX
(5) PromotedTweetPromotedTweetTweetModuleTwitterX
(6) ReportReportSpaceModuleTwitterX
(7) RetweetRetweetTweetModuleTwitterX
(8) TweetTweetTweetModuleTwitterX
(9) TweetHashtagTweetHashtagHashtagModuleTwitterX
(10) UserAccountUserAccountUserAccountModuleTwitterX

Module Interfaces (33)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /retweet/{id}deleteRetweetById(id)TweetModuleDELETERetweet
(2) /retweetinsertRetweet(retweet)TweetModulePOSTRetweet
(3) /promotedtweet/{id}deletePromotedTweetById(id)TweetModuleDELETEPromotedTweet
(4) /promotedtweetfindAllPromotedTweet()TweetModuleGETPromotedTweet
(5) /tweet/{id}findTweetById(id)TweetModuleGETTweet
(6) /promotedtweet/tweet/{id}findAllPromotedTweetOfTweet(id)TweetModuleGETTweet PromotedTweet
(7) /polloptioninsertPollOption(polloption)TweetModulePOSTPollOption
(8) /retweet/user/{id}findAllRetweetOfUser(id)TweetModuleGETUserAccount Retweet
(9) /promotedtweet/campaign/{id}findAllPromotedTweetOfCampaign(id)TweetModuleGETCampaign PromotedTweet
(10) /tweet/{id}deleteTweetById(id)TweetModuleDELETETweet
(11) /retweet/tweet/{id}findAllRetweetOfTweet(id)TweetModuleGETTweet Retweet
(12) /retweetfindAllRetweet()TweetModuleGETRetweet
(13) /retweet/{id}findRetweetById(id)TweetModuleGETRetweet
(14) /poll/{id}deletePollById(id)TweetModuleDELETEPoll
(15) /tweetinsertTweet(tweet)TweetModulePOSTTweet
(16) /promotedtweet/{id}updatePromotedTweetById(promotedtweet)TweetModulePUTPromotedTweet
(17) /pollfindAllPoll()TweetModuleGETPoll
(18) /tweet/{id}updateTweetById(tweet)TweetModulePUTTweet
(19) /poll/tweet/{id}findAllPollOfTweet(id)TweetModuleGETTweet Poll
(20) /polloption/poll/{id}findAllPollOptionOfPoll(id)TweetModuleGETPoll PollOption
(21) /polloption/{id}findPollOptionById(id)TweetModuleGETPollOption
(22) /tweetfindAllTweet()TweetModuleGETTweet
(23) /tweet/user/{id}findAllTweetOfUser(id)TweetModuleGETUserAccount Tweet
(24) /poll/{id}updatePollById(poll)TweetModulePUTPoll
(25) /polloption/{id}updatePollOptionById(polloption)TweetModulePUTPollOption
(26) /promotedtweet/{id}findPromotedTweetById(id)TweetModuleGETPromotedTweet
(27) /poll/{id}findPollById(id)TweetModuleGETPoll
(28) /promotedtweetinsertPromotedTweet(promotedtweet)TweetModulePOSTPromotedTweet
(29) /polloption/{id}deletePollOptionById(id)TweetModuleDELETEPollOption
(30) /retweet/{id}updateRetweetById(retweet)TweetModulePUTRetweet
(31) /tweet/inreplytouser/{id}findAllTweetOfInReplyToUser(id)TweetModuleGETUserAccount Tweet
(32) /pollinsertPoll(poll)TweetModulePOSTPoll
(33) /polloptionfindAllPollOption()TweetModuleGETPollOption






7.1 POLL


PollTweetModuleTwitterX

Properties (5)

PropertyTypeEntityReferenceModule
(1) CreatedAtSTRINGPoll
(2) DurationMinutesINTPoll
(3) EndsAtSTRINGPoll
(4) QuestionSTRINGPoll
(5) TweetLONGPollTweetTweetModule





Example:

final Poll poll = (Poll) invokeModule(TWEET_MODULE + "/poll/" + id, Poll.class);
if (poll != null) {
    final Tweet tweet1 = (Tweet) invokeModule(TWEET_MODULE + "/tweet/" + poll.getTweet().getId(), Tweet.class);
    if (tweet1 != null) {
        final UserAccount inreplytouser2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + tweet1.getInReplyToUser().getId(), UserAccount.class);
        if (inreplytouser2 != null) {
        }
        final UserAccount user3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + tweet1.getUser().getId(), UserAccount.class);
        if (user3 != null) {
        }
    }
}
return poll;


7.2 POLL OPTION


PollOptionTweetModuleTwitterX

Properties (4)

PropertyTypeEntityReferenceModule
(1) PollLONGPollOptionPollTweetModule
(2) PositionINTPollOption
(3) TextSTRINGPollOption
(4) VoteCountLONGPollOption





Example:

final PollOption polloption = (PollOption) invokeModule(TWEET_MODULE + "/polloption/" + id, PollOption.class);
if (polloption != null) {
    final Poll poll1 = (Poll) invokeModule(TWEET_MODULE + "/poll/" + polloption.getPoll().getId(), Poll.class);
    if (poll1 != null) {
        final Tweet tweet2 = (Tweet) invokeModule(TWEET_MODULE + "/tweet/" + poll1.getTweet().getId(), Tweet.class);
        if (tweet2 != null) {
            final UserAccount inreplytouser3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + tweet2.getInReplyToUser().getId(), UserAccount.class);
            if (inreplytouser3 != null) {
            }
            final UserAccount user4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + tweet2.getUser().getId(), UserAccount.class);
            if (user4 != null) {
            }
        }
    }
}
return polloption;


7.3 PROMOTED TWEET


PromotedTweetTweetModuleTwitterX

Properties (5)

PropertyTypeEntityReferenceModule
(1) CampaignLONGPromotedTweetCampaignCampaignModule
(2) CreatedAtSTRINGPromotedTweet
(3) LineItemNameSTRINGPromotedTweet
(4) StatusSTRINGPromotedTweet
(5) TweetLONGPromotedTweetTweetTweetModule





Example:

final PromotedTweet promotedtweet = (PromotedTweet) invokeModule(TWEET_MODULE + "/promotedtweet/" + id, PromotedTweet.class);
if (promotedtweet != null) {
    final Campaign campaign1 = (Campaign) invokeModule(CAMPAIGN_MODULE + "/campaign/" + promotedtweet.getCampaign().getId(), Campaign.class);
    if (campaign1 != null) {
        final AdAccount adaccount2 = (AdAccount) invokeModule(CAMPAIGN_MODULE + "/adaccount/" + campaign1.getAdAccount().getId(), AdAccount.class);
        if (adaccount2 != null) {
            final UserAccount owneruser3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + adaccount2.getOwnerUser().getId(), UserAccount.class);
            if (owneruser3 != null) {
            }
        }
    }
    final Tweet tweet4 = (Tweet) invokeModule(TWEET_MODULE + "/tweet/" + promotedtweet.getTweet().getId(), Tweet.class);
    if (tweet4 != null) {
        final UserAccount inreplytouser5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + tweet4.getInReplyToUser().getId(), UserAccount.class);
        if (inreplytouser5 != null) {
        }
        final UserAccount user6 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + tweet4.getUser().getId(), UserAccount.class);
        if (user6 != null) {
        }
    }
}
return promotedtweet;


7.4 RETWEET


RetweetTweetModuleTwitterX

Properties (5)

PropertyTypeEntityReferenceModule
(1) CommentSTRINGRetweet
(2) CreatedAtSTRINGRetweet
(3) IsQuoteBOOLRetweet
(4) TweetLONGRetweetTweetTweetModule
(5) UserLONGRetweetUserAccountUserAccountModule





Example:

final Retweet retweet = (Retweet) invokeModule(TWEET_MODULE + "/retweet/" + id, Retweet.class);
if (retweet != null) {
    final UserAccount user1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + retweet.getUser().getId(), UserAccount.class);
    if (user1 != null) {
    }
    final Tweet tweet2 = (Tweet) invokeModule(TWEET_MODULE + "/tweet/" + retweet.getTweet().getId(), Tweet.class);
    if (tweet2 != null) {
        final UserAccount inreplytouser3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + tweet2.getInReplyToUser().getId(), UserAccount.class);
        if (inreplytouser3 != null) {
        }
        final UserAccount user4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + tweet2.getUser().getId(), UserAccount.class);
        if (user4 != null) {
        }
    }
}
return retweet;


7.5 TWEET


TweetTweetModuleTwitterX

Properties (14)

PropertyTypeEntityReferenceModule
(1) ContentSTRINGTweet
(2) CreatedAtSTRINGTweet
(3) InReplyToTweetLONGTweet
(4) InReplyToUserLONGTweetUserAccountUserAccountModule
(5) IsDeletedBOOLTweet
(6) IsSensitiveBOOLTweet
(7) LanguageSTRINGTweet
(8) LikeCountLONGTweet
(9) QuoteTweetLONGTweet
(10) ReplyCountLONGTweet
(11) RetweetCountLONGTweet
(12) SourceAppSTRINGTweet
(13) UserLONGTweetUserAccountUserAccountModule
(14) ViewCountLONGTweet





Example:

final Tweet tweet = (Tweet) invokeModule(TWEET_MODULE + "/tweet/" + id, Tweet.class);
if (tweet != null) {
    final UserAccount inreplytouser1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + tweet.getInReplyToUser().getId(), UserAccount.class);
    if (inreplytouser1 != null) {
    }
    final UserAccount user2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + tweet.getUser().getId(), UserAccount.class);
    if (user2 != null) {
    }
}
return tweet;


Overview

Summary

ContactDonateImprint