saav-tek / yii2-share-buttons-widget
Social Media share buttons widget.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-09-25 08:21:51 UTC
README
This Widget creates Social Media sharing buttons.
Note: Configure the required "og" fields in the view (og:title, og:image, etc) so that FaceBook and LinkedIn populate the post content automatically.
Installation
The preferred way to install this extension is through composer.
Usage
echo ShareButtonsWidget::widget([ 'title' => $someTitle, 'url' => Url::to([$someUrl], true), ])