added card entities for fav/unfav
This commit is contained in:
parent
6cf363f7e2
commit
e50127ad8a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue