1 | <?php |
||
10 | class Facebook extends Provider |
||
11 | { |
||
12 | /** |
||
13 | * Generate URL based on Video ID/Link. |
||
14 | * |
||
15 | * @param $url |
||
16 | * |
||
17 | * @return string |
||
18 | */ |
||
19 | public function generateUrl($url) |
||
30 | |||
31 | /** |
||
32 | * Gets Video Download Links with Meta Data. |
||
33 | * Returns HD & SD Quality Links. |
||
34 | * |
||
35 | * @param $url |
||
36 | * |
||
37 | * @throws VideoDownloaderException |
||
38 | * |
||
39 | * @return array |
||
40 | */ |
||
41 | public function getVideoInfo($url) |
||
59 | |||
60 | /** |
||
61 | * Get Video Title. |
||
62 | * |
||
63 | * @return string|null |
||
64 | */ |
||
65 | public function getTitle() |
||
76 | |||
77 | /** |
||
78 | * Get Description. |
||
79 | * |
||
80 | * @return string|bool |
||
81 | */ |
||
82 | public function getDescription() |
||
90 | |||
91 | /** |
||
92 | * Get Created Time in Unix. |
||
93 | * |
||
94 | * @return string |
||
95 | */ |
||
96 | public function getCreatedTime() |
||
104 | |||
105 | /** |
||
106 | * Get Value By Key Name. |
||
107 | * |
||
108 | * @param $key |
||
109 | * |
||
110 | * @return string|bool |
||
111 | */ |
||
112 | public function getValueByKey($key) |
||
122 | } |
||
123 |