Silver stripe widget for displaying custom twitter widgets
Add it to your project with:
composer require gdmedia/silverstripe-widget-twitter-widgets
- 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".