mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Added include data to Twitter embed
refs https://github.com/TryGhost/Team/issues/1001 This data is required to render information for linked content, for example images, polls, and mentioned users.
This commit is contained in:
parent
ea54393e88
commit
e43296f1d7
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ class TwitterOEmbedProvider {
|
|||
const body = JSON.parse(result.body);
|
||||
|
||||
oembedData.tweet_data = body.data;
|
||||
oembedData.tweet_data.includes = body.includes;
|
||||
} catch (err) {
|
||||
this.dependencies.logging.error(err);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue