|
| 1 | +<?php |
| 2 | + |
| 3 | +require 'vendor/autoload.php'; |
| 4 | + |
| 5 | + |
| 6 | +echo '<pre>'; |
| 7 | + |
| 8 | +echo '<h1>YouTube</h1>'; |
| 9 | +print_r(Layered\UrlPreview::load('https://www.youtube.com/')->getData()); |
| 10 | +print_r(Layered\UrlPreview::load('https://www.youtube.com/watch?v=3iTYpWfP0Og')->getData()); |
| 11 | + |
| 12 | +echo '<h1>WordPress</h1>'; |
| 13 | +print_r(Layered\UrlPreview::load('http://roberthajnal.ro/blog/2017/07/23/maraton-7500-2017/')->getData()); |
| 14 | +print_r(Layered\UrlPreview::load('http://roberthajnal.ro/blog/2017/07/01/lavaredo-ultra-trail-la-ultra-si-cei-mai-buni-din-lume-se-taie/')->getData()); |
| 15 | + |
| 16 | +echo '<h1>Medium</h1>'; |
| 17 | +print_r(Layered\UrlPreview::load('https://rokm.ro/')->getData()); |
| 18 | +print_r(Layered\UrlPreview::load('https://medium.com/@andrewcouldwell/plasma-design-system-4d63fb6c1afc')->getData()); |
| 19 | +print_r(Layered\UrlPreview::load('https://rokm.ro/what-makes-a-good-fitness-app-b5416d410002')->getData()); |
| 20 | + |
| 21 | +echo '<h1>Instagram</h1>'; |
| 22 | +print_r(Layered\UrlPreview::load('https://instagram.com')->getData()); |
| 23 | +print_r(Layered\UrlPreview::load('https://instagram.com/andreihere')->getData()); |
| 24 | +print_r(Layered\UrlPreview::load('https://instagr.am/p/BYOgma8hoUK/')->getData()); |
| 25 | +print_r(Layered\UrlPreview::load('https://www.instagram.com/p/BYjGxqkgQCm/?taken-by=daria_solak_illustrations')->getData()); |
| 26 | +print_r(Layered\UrlPreview::load('https://www.instagram.com/p/BPezVTTjP7g/?taken-by=andreihere')->getData()); |
| 27 | + |
| 28 | +echo '<h1>Facebook</h1>'; |
| 29 | +print_r(Layered\UrlPreview::load('https://facebook.com')->getData()); |
| 30 | +print_r(Layered\UrlPreview::load('https://facebook.com/andreiigna')->getData()); |
| 31 | +print_r(Layered\UrlPreview::load('https://www.facebook.com/cciuca/posts/1857443374282334')->getData()); |
| 32 | +print_r(Layered\UrlPreview::load('https://www.facebook.com/mxgur/posts/10107274070905477')->getData()); |
| 33 | +print_r(Layered\UrlPreview::load('https://www.facebook.com/photo.php?fbid=1889887641037956&set=a.764654416894623.1073741851.100000502141017&type=3&theater')->getData()); |
| 34 | + |
| 35 | +echo '<h1>Twitter</h1>'; |
| 36 | +print_r(Layered\UrlPreview::load('https://twitter.com')->getData()); |
| 37 | +print_r(Layered\UrlPreview::load('https://twitter.com/AndreiIgna')->getData()); |
| 38 | +print_r(Layered\UrlPreview::load('https://twitter.com/AndreiIgna/status/903558303065759744')->getData()); |
| 39 | +print_r(Layered\UrlPreview::load('https://twitter.com/AndreiIgna/status/890510906819571719')->getData()); |
| 40 | +print_r(Layered\UrlPreview::load('https://twitter.com/AndreiIgna/status/902280395336626176')->getData()); |
| 41 | + |
| 42 | +echo '</pre>'; |
0 commit comments