Better tweet embedding#

This commit is contained in:
Jonny Barnes 2017-09-14 10:14:20 +01:00
parent 9c5b2e3bac
commit 723760702a

View file

@ -280,8 +280,8 @@ class Note extends Model
try { try {
$oEmbed = Twitter::getOembed([ $oEmbed = Twitter::getOembed([
'id' => $tweetId, 'id' => $tweetId,
'dnt' => true,
'align' => 'center', 'align' => 'center',
'omit_script' => true,
'maxwidth' => 550, 'maxwidth' => 550,
]); ]);
} catch (\Exception $e) { } catch (\Exception $e) {