silverstripe-module silverstripe-widget-twitter-widgets
Silver stripe widget for displaying custom twitter widgets
gdmedia/silverstripe-widget-twitter-widgets
Silver stripe widget for displaying custom twitter widgets
- Tuesday, June 28, 2016
- by gurudigital
- Repository
- 4 Watchers
- 1 Stars
- 852 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Silver stripe widget for displaying custom twitter widgets, (*1)
Install instructions
Add it to your project with:
composer require gdmedia/silverstripe-widget-twitter-widgets
Run /dev/build
, (*2)
Setup instructions
- Create a "User Widget" on Twitter.
Head over to the Create a user widget page on twitter and create your widget.
Copy the HTML located above the "Copy and paste the code into the HTML of your site" (Which appears after saving your widget)
- Create a new "Twitter Widgets Widget" in your site admin
- Paste the HTML copied from Step 1 in to the "Twitter HTML" field
- You don't need to worry about the "Href" or "Twitter Widget ID" field as the widget will automagically pull them out of the "Twitter HTML". However, you could leave "Twitter HTML" empty and fill in the "Href" and "Twitter Widget ID" manually
- Please note that "Href" and "Twitter Widget ID" will always be overwritten from values that the widget discovers in "Twitter HTML".