|
@@ -31,8 +31,9 @@ export class TwitterApiProvider {
|
|
|
}
|
|
|
|
|
|
public fetchHomeFeed() {
|
|
|
- return this.client.get('statuses/home_timeline', { count: 10 })
|
|
|
+ return this.client.get('statuses/home_timeline', { count: 10, include_entities: true, tweet_mode: "extended" })
|
|
|
.then(res => {
|
|
|
+ console.log(res);
|
|
|
return res;
|
|
|
})
|
|
|
.catch(err => {
|
|
@@ -41,7 +42,7 @@ export class TwitterApiProvider {
|
|
|
}
|
|
|
|
|
|
public fetchHomeFeedSince(id) {
|
|
|
- return this.client.get('statuses/home_timeline', { max_id: id, count: 15 })
|
|
|
+ return this.client.get('statuses/home_timeline', { max_id: id, count: 15, include_entities: true, tweet_mode: "extended" })
|
|
|
.then(res => {
|
|
|
return res;
|
|
|
})
|
|
@@ -61,7 +62,7 @@ export class TwitterApiProvider {
|
|
|
}
|
|
|
|
|
|
public fetchUserTimeline(userId) {
|
|
|
- return this.client.get('statuses/user_timeline', { user_id: userId })
|
|
|
+ return this.client.get('statuses/user_timeline', { user_id: userId, include_entities: true, tweet_mode: "extended" })
|
|
|
.then(res => {
|
|
|
return res.data;
|
|
|
})
|
|
@@ -72,7 +73,7 @@ export class TwitterApiProvider {
|
|
|
|
|
|
|
|
|
public fetchUserTimelineSince(userId, maxId) {
|
|
|
- return this.client.get('statuses/user_timeline', { user_id: userId, max_id: maxId })
|
|
|
+ return this.client.get('statuses/user_timeline', { user_id: userId, max_id: maxId, include_entities: true, tweet_mode: "extended" })
|
|
|
.then(res => {
|
|
|
return res.data;
|
|
|
})
|