Skip to content

Commit 8fb9a52

Browse files
committed
fixed Twitter oembed
1 parent 18ea6ad commit 8fb9a52

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Providers/OEmbed/Twitter.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
namespace Embed\Providers\OEmbed;
4+
5+
class Twitter extends EndPoint implements EndPointInterface
6+
{
7+
protected static $pattern = ['*.twitter.com/*', 'twitter.com/*'];
8+
protected static $endPoint = 'https://publish.twitter.com/oembed';
9+
}

0 commit comments

Comments
 (0)