diff --git a/twidere.component.twitter4j/src/main/java/twitter4j/TwitterImpl.java b/twidere.component.twitter4j/src/main/java/twitter4j/TwitterImpl.java index f0c29513c..8382e332d 100644 --- a/twidere.component.twitter4j/src/main/java/twitter4j/TwitterImpl.java +++ b/twidere.component.twitter4j/src/main/java/twitter4j/TwitterImpl.java @@ -136,7 +136,7 @@ final class TwitterImpl extends TwitterBaseImpl implements Twitter { final String url = conf.getRestBaseURL() + ENDPOINT_FAVORITES_CREATE; final String signUrl = conf.getSigningRestBaseURL() + ENDPOINT_FAVORITES_CREATE; return factory.createStatus(post(url, signUrl, new HttpParameter("id", id), INCLUDE_ENTITIES, - INCLUDE_REPLY_COUNT, INCLUDE_DESCENDENT_REPLY_COUNT)); + INCLUDE_REPLY_COUNT, INCLUDE_DESCENDENT_REPLY_COUNT, INCLUDE_CARDS, CARDS_PLATFORM)); } @Override @@ -315,7 +315,7 @@ final class TwitterImpl extends TwitterBaseImpl implements Twitter { ensureAuthorizationEnabled(); return factory.createStatus(post(conf.getRestBaseURL() + ENDPOINT_FAVORITES_DESTROY, conf.getSigningRestBaseURL() + ENDPOINT_FAVORITES_DESTROY, new HttpParameter("id", id), - INCLUDE_ENTITIES, INCLUDE_REPLY_COUNT, INCLUDE_DESCENDENT_REPLY_COUNT)); + INCLUDE_ENTITIES, INCLUDE_REPLY_COUNT, INCLUDE_DESCENDENT_REPLY_COUNT, INCLUDE_CARDS, CARDS_PLATFORM)); } @Override @@ -361,7 +361,7 @@ final class TwitterImpl extends TwitterBaseImpl implements Twitter { ensureAuthorizationEnabled(); return factory.createStatus(post(conf.getRestBaseURL() + "statuses/destroy/" + statusId + ".json", conf.getSigningRestBaseURL() + "statuses/destroy/" + statusId + ".json", INCLUDE_ENTITIES, - INCLUDE_REPLY_COUNT, INCLUDE_DESCENDENT_REPLY_COUNT)); + INCLUDE_REPLY_COUNT, INCLUDE_DESCENDENT_REPLY_COUNT, INCLUDE_CARDS, CARDS_PLATFORM)); } @Override @@ -1313,7 +1313,7 @@ final class TwitterImpl extends TwitterBaseImpl implements Twitter { final String url = conf.getRestBaseURL() + "statuses/retweet/" + statusId + ".json"; final String signUrl = conf.getSigningRestBaseURL() + "statuses/retweet/" + statusId + ".json"; return factory.createStatus(post(url, signUrl, INCLUDE_ENTITIES, INCLUDE_REPLY_COUNT, - INCLUDE_DESCENDENT_REPLY_COUNT)); + INCLUDE_DESCENDENT_REPLY_COUNT, INCLUDE_CARDS, CARDS_PLATFORM)); } @Override