| 1 | <?php |
||
| 19 | class Facebook implements ProviderInterface |
||
| 20 | { |
||
| 21 | const NAME = 'facebook'; |
||
| 22 | const SHARE_URL = 'https://www.facebook.com/sharer/sharer.php?u=%s'; |
||
| 23 | const API_URL = 'https://graph.facebook.com/?id=%s'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function getName() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | public function getLink($url, array $options = array()) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | public function getShares($url) |
||
| 57 | } |
||
| 58 |